summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfs.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-09 03:31:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-09 03:31:42 +0300
commit612873fa462d74a31bdd3977dac7919376038275 (patch)
tree86c7ce3cb5a0d334bcba5d463846a88e03a8669e /src/fs/virtfs/virtfs.h
parent8470d3c82d84a6bd7767de6763153aa9cdfb991b (diff)
downloadplus-612873fa462d74a31bdd3977dac7919376038275.tar.gz
plus-612873fa462d74a31bdd3977dac7919376038275.tar.bz2
plus-612873fa462d74a31bdd3977dac7919376038275.tar.xz
plus-612873fa462d74a31bdd3977dac7919376038275.zip
Simplify add/remove dirs and zips methods in virtfs.
Diffstat (limited to 'src/fs/virtfs/virtfs.h')
-rw-r--r--src/fs/virtfs/virtfs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/virtfs/virtfs.h b/src/fs/virtfs/virtfs.h
index 056cb3673..408a54832 100644
--- a/src/fs/virtfs/virtfs.h
+++ b/src/fs/virtfs/virtfs.h
@@ -34,9 +34,9 @@ struct VirtFsEntry;
namespace VirtFs
{
- bool addDirToSearchPathInternal(const std::string &restrict newDir,
- const Append append);
- bool removeDirFromSearchPathInternal(std::string oldDir);
+ bool mountDirInternal(const std::string &restrict newDir,
+ const Append append);
+ bool unmountDirInternal(std::string oldDir);
std::vector<VirtFsEntry*> &getEntries();
VirtFsEntry *searchEntryByRootInternal(const std::string &restrict
root);
@@ -45,8 +45,8 @@ namespace VirtFs
void addEntry(VirtFsEntry *const entry,
const Append append);
#ifdef UNITTESTS
- bool addDirToSearchPathSilent2(std::string newDir,
- const Append append);
+ bool mountDirSilent2(std::string newDir,
+ const Append append);
#endif // UNITTESTS
} // namespace VirtFs