AWS SDK for C++
0.14.3
AWS SDK for C++
|
Functions | |
AWS_CORE_API Aws::String | GetHomeDirectory () |
AWS_CORE_API bool | CreateDirectoryIfNotExists (const char *path) |
AWS_CORE_API bool | RemoveFileIfExists (const char *fileName) |
AWS_CORE_API bool | RelocateFileOrDirectory (const char *from, const char *to) |
AWS_CORE_API Aws::String | CreateTempFilePath () |
Variables | |
static const char | PATH_DELIM = '/' |
AWS_CORE_API bool Aws::FileSystem::CreateDirectoryIfNotExists | ( | const char * | path | ) |
Creates directory if it doesn't exist. Returns true if the directory was created or already exists. False for failure.
AWS_CORE_API Aws::String Aws::FileSystem::CreateTempFilePath | ( | ) |
Computes a unique tmp file path
AWS_CORE_API Aws::String Aws::FileSystem::GetHomeDirectory | ( | ) |
Returns the directory path for the home dir env variable
AWS_CORE_API bool Aws::FileSystem::RelocateFileOrDirectory | ( | const char * | from, |
const char * | to | ||
) |
Moves the file. Returns true on success
AWS_CORE_API bool Aws::FileSystem::RemoveFileIfExists | ( | const char * | fileName | ) |
Deletes file if it exists. Returns true if file doesn't exist or on success.
|
static |
Definition at line 28 of file FileSystem.h.