Contains file manipulation utility methods.
More...
#include <FileUtils.hpp>
|
static bool | fileExists (const std::string &filePath) |
| Check if a file exists.
|
|
static bool | deleteFile (const std::string &filePath) |
| Delete the file at filePath.
|
|
Contains file manipulation utility methods.
FileUtils struct.
◆ deleteFile()
bool switchboard::FileUtils::deleteFile |
( |
const std::string & |
filePath | ) |
|
|
static |
Delete the file at filePath.
- Parameters
-
filePath | Path to the file. |
- Returns
- True if the file is deleted/non-existent.
◆ fileExists()
bool switchboard::FileUtils::fileExists |
( |
const std::string & |
filePath | ) |
|
|
static |
Check if a file exists.
- Parameters
-
filePath | Path to the file. |
- Returns
- True if the file exists.
The documentation for this struct was generated from the following files:
- /Users/jenkins/.jenkins/workspace/Switchboard Developer Site - Production/SwitchboardSDK/src/all/File/FileUtils.hpp
- /Users/jenkins/.jenkins/workspace/Switchboard Developer Site - Production/SwitchboardSDK/src/all/File/FileUtils.cpp