diff options
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/files.cpp | 10 | ||||
-rw-r--r-- | src/fs/files.h | 3 |
2 files changed, 0 insertions, 13 deletions
diff --git a/src/fs/files.cpp b/src/fs/files.cpp index a6b8d0d4d..7cefef985 100644 --- a/src/fs/files.cpp +++ b/src/fs/files.cpp @@ -123,16 +123,6 @@ void Files::copyVirtFsDir(const std::string &restrict inDir, VirtFs::freeList(files); } -void Files::extractZip(const std::string &restrict zipName, - const std::string &restrict inDir, - const std::string &restrict outDir) -{ - VirtFs::mountZip(zipName, Append_false); - copyVirtFsDir(inDir, outDir); - VirtFs::unmountZip(zipName); - remove(zipName.c_str()); -} - #endif // ANDROID __native_client__ int Files::renameFile(const std::string &restrict srcName, diff --git a/src/fs/files.h b/src/fs/files.h index fa6833da4..146a85ff1 100644 --- a/src/fs/files.h +++ b/src/fs/files.h @@ -42,9 +42,6 @@ namespace Files void copyVirtFsDir(const std::string &restrict inDir, const std::string &restrict outDir); - void extractZip(const std::string &restrict zipName, - const std::string &restrict inDir, - const std::string &restrict outDir); #endif // ANDROID __native_client__ int renameFile(const std::string &restrict pFrom, |