File operation helpers.
More...
#include <file_help.h>
◆ copy_file()
Copy a file.
- Parameters
-
from | Where to copy from |
to | Where to copy to |
copy_always | true = Copy, even if destination already exists. false = Do not copy if destination exists (throw a Exception) |
◆ delete_file()
static void clan::FileHelp::delete_file |
( |
const std::string & |
filename | ) |
|
|
static |
Delete a file.
- Parameters
-
◆ file_exists()
static bool clan::FileHelp::file_exists |
( |
const std::string & |
filename | ) |
|
|
static |
Check if a file exists.
- Parameters
-
filename | File to check for existance |
The documentation for this class was generated from the following file: