summaryrefslogtreecommitdiff
path: root/src/fs/virtfstools.cpp
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/virtfstools.cpp
parent8470d3c82d84a6bd7767de6763153aa9cdfb991b (diff)
downloadmv-612873fa462d74a31bdd3977dac7919376038275.tar.gz
mv-612873fa462d74a31bdd3977dac7919376038275.tar.bz2
mv-612873fa462d74a31bdd3977dac7919376038275.tar.xz
mv-612873fa462d74a31bdd3977dac7919376038275.zip
Simplify add/remove dirs and zips methods in virtfs.
Diffstat (limited to 'src/fs/virtfstools.cpp')
-rw-r--r--src/fs/virtfstools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/virtfstools.cpp b/src/fs/virtfstools.cpp
index 0b434a340..9ba8c6683 100644
--- a/src/fs/virtfstools.cpp
+++ b/src/fs/virtfstools.cpp
@@ -83,7 +83,7 @@ namespace VirtFs
{
const std::string file = path + str;
const std::string realPath = VirtFs::getRealDir(file);
- VirtFs::addZipToSearchPath(std::string(realPath).append(
+ VirtFs::mountZip(std::string(realPath).append(
dirSeparator).append(file), append);
}
}
@@ -103,7 +103,7 @@ namespace VirtFs
{
const std::string file = path + str;
const std::string realPath = VirtFs::getRealDir(file);
- VirtFs::removeZipFromSearchPath(std::string(
+ VirtFs::unmountZip(std::string(
realPath).append(
dirSeparator).append(
file));