AWS SDK for C++  0.14.3
AWS SDK for C++
Functions | Variables
Aws::FileSystem Namespace Reference

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 = '/'
 

Function Documentation

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.

Variable Documentation

const char Aws::FileSystem::PATH_DELIM = '/'
static

Definition at line 28 of file FileSystem.h.