diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-16 01:01:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-16 01:46:05 +0300 |
commit | 24bd6a6d26bab89126db7183bb693779a1742c6d (patch) | |
tree | 1a7ae594883562a01abdb2c8070a6585af2780e4 /src/fs/virtfs/fs.h | |
parent | 65ef43ab06f3dfb7b87caa3ba8236ea741d59f35 (diff) | |
download | plus-24bd6a6d26bab89126db7183bb693779a1742c6d.tar.gz plus-24bd6a6d26bab89126db7183bb693779a1742c6d.tar.bz2 plus-24bd6a6d26bab89126db7183bb693779a1742c6d.tar.xz plus-24bd6a6d26bab89126db7183bb693779a1742c6d.zip |
Add subdir support into virtfs::exists.
Diffstat (limited to 'src/fs/virtfs/fs.h')
-rw-r--r-- | src/fs/virtfs/fs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/virtfs/fs.h b/src/fs/virtfs/fs.h index ccd5dcfdc..ca67117ea 100644 --- a/src/fs/virtfs/fs.h +++ b/src/fs/virtfs/fs.h @@ -94,10 +94,10 @@ namespace VirtFs int eof(File *restrict const file); bool mountDirInternal(const std::string &restrict newDir, - const std::string &restrict subDir, + std::string subDir, const Append append); bool unmountDirInternal(std::string oldDir, - const std::string &restrict subDir); + std::string subDir); std::vector<FsEntry*> &getEntries(); FsEntry *searchByRootInternal(const std::string &restrict root, const std::string &restrict subDir); |