|
static bool | unzipFileToDirectory (const std::string &pZipFilePath, const std::string &pTargetDirectoryPath, bool pOverwriteFlag) |
| Unzips a .zip file into a directory. More...
|
|
static bool | makeDirectory (const std::string &pNewDirectory) |
| Create (recursively) a directory. More...
|
|
static bool | removeDirectory (const std::string &pDirectoryToRemove) |
| Recursively removes a directory. More...
|
|
static bool | findFile (const std::string &pFileName, const std::string &pStartPath, std::string &pResultPath) |
| Find a file in a directory. More...
|
|
static bool VgMyZipUtils::findFile |
( |
const std::string & |
pFileName, |
|
|
const std::string & |
pStartPath, |
|
|
std::string & |
pResultPath |
|
) |
| |
|
static |
Find a file in a directory.
- Returns
- true if found and fills in resultPath.
static bool VgMyZipUtils::makeDirectory |
( |
const std::string & |
pNewDirectory | ) |
|
|
static |
Create (recursively) a directory.
- Returns
- false if it fails to create any intermediate directories.
static bool VgMyZipUtils::removeDirectory |
( |
const std::string & |
pDirectoryToRemove | ) |
|
|
static |
Recursively removes a directory.
- Returns
- false if it fails to remove intermediate directories.
static bool VgMyZipUtils::unzipFileToDirectory |
( |
const std::string & |
pZipFilePath, |
|
|
const std::string & |
pTargetDirectoryPath, |
|
|
bool |
pOverwriteFlag |
|
) |
| |
|
static |
Unzips a .zip file into a directory.
- Parameters
-
pZipFilePath | path to zip file |
pTargetDirectoryPath | where the file should be unzipped. if it does not exist, the path will be created |
pOverwriteFlag | if true, it overwrites existing files when unzipping. |
The documentation for this class was generated from the following file: