projects
/
manu
/
suphp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r9183@datura: manu | 2008-06-04 09:59:07 +0200
[manu/suphp.git]
/
src
/
File.cpp
diff --git
a/src/File.cpp
b/src/File.cpp
index
b0b20c2
..
6c6d303
100644
(file)
--- a/
src/File.cpp
+++ b/
src/File.cpp
@@
-57,9
+57,6
@@
std::string suPHP::File::getRealPath() const throw (SystemException) {
File suPHP::File::getParentDirectory() const {
std::string path = this->getPath();
path = path.substr(0, path.rfind('/'));
File suPHP::File::getParentDirectory() const {
std::string path = this->getPath();
path = path.substr(0, path.rfind('/'));
- if (path.length() == 0) {
- path = "/";
- }
return File(path);
}
return File(path);
}
@@
-107,7
+104,3
@@
UserInfo suPHP::File::getUser() const throw (SystemException) {
GroupInfo suPHP::File::getGroup() const throw (SystemException) {
return API_Helper::getSystemAPI().File_getGroup(*this);
}
GroupInfo suPHP::File::getGroup() const throw (SystemException) {
return API_Helper::getSystemAPI().File_getGroup(*this);
}
-
-bool suPHP::File::isSymlink() const throw (SystemException) {
- return API_Helper::getSystemAPI().File_isSymlink(*this);
-}