From 612873fa462d74a31bdd3977dac7919376038275 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 9 Mar 2017 03:31:42 +0300 Subject: Simplify add/remove dirs and zips methods in virtfs. --- src/fs/virtfstools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fs/virtfstools.cpp') 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)); -- cgit v1.2.3-60-g2f50