diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/fs/abstract-fs.h | 5 | ||||
-rw-r--r-- | backends/fs/posix/posix-fs.cpp | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/backends/fs/abstract-fs.h b/backends/fs/abstract-fs.h index bb7669739f..fed2b9b4c5 100644 --- a/backends/fs/abstract-fs.h +++ b/backends/fs/abstract-fs.h @@ -122,11 +122,6 @@ public: virtual bool isReadable() const = 0; /** - * Indicates whether this path is valid or not for usage. - */ - virtual bool isValid() const = 0; - - /** * Indicates whether this path can be written to or not. */ virtual bool isWritable() const = 0; diff --git a/backends/fs/posix/posix-fs.cpp b/backends/fs/posix/posix-fs.cpp index 2e222f34f8..fb5c9dc5d7 100644 --- a/backends/fs/posix/posix-fs.cpp +++ b/backends/fs/posix/posix-fs.cpp @@ -68,7 +68,6 @@ public: virtual String getPath() const { return _path; } virtual bool isDirectory() const { return _isDirectory; } virtual bool isReadable() const { return access(_path.c_str(), R_OK) == 0; } - virtual bool isValid() const { return _isValid; } virtual bool isWritable() const { return access(_path.c_str(), W_OK) == 0; } virtual AbstractFilesystemNode *getChild(const String &n) const; |