diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-15 03:36:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-15 03:36:05 +0300 |
commit | 35ff05fe5c98a26581a9282730a0a624605b70e1 (patch) | |
tree | c32a73d801fe7b0fb939f230394ddcedbae391bb /src/utils/virtfs.h | |
parent | 8580c1f1b4e460536102798acca9f14c5e62b871 (diff) | |
download | mv-35ff05fe5c98a26581a9282730a0a624605b70e1.tar.gz mv-35ff05fe5c98a26581a9282730a0a624605b70e1.tar.bz2 mv-35ff05fe5c98a26581a9282730a0a624605b70e1.tar.xz mv-35ff05fe5c98a26581a9282730a0a624605b70e1.zip |
Add more unit tests for virtfs.
Also add some testing files.
Diffstat (limited to 'src/utils/virtfs.h')
-rw-r--r-- | src/utils/virtfs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/virtfs.h b/src/utils/virtfs.h index 4f4471ad0..2b2550826 100644 --- a/src/utils/virtfs.h +++ b/src/utils/virtfs.h @@ -51,8 +51,9 @@ namespace VirtFs bool addZipToSearchPath(const std::string &restrict newDir, const Append append); bool removeZipFromSearchPath(const std::string &restrict oldDir); - const char *getRealDir(const std::string &restrict filename); + std::string getRealDir(const std::string &restrict filename); bool mkdir(const std::string &restrict dirName); + bool remove(const std::string &restrict filename); bool deinit(); void permitLinks(const bool val); const char *getLastError(); |