16 #if defined(FILE_SYSTEM_UTILS_ENABLED) 18 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_FILESYSTEM_FILESYSTEMUTILS_H_ 19 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_FILESYSTEM_FILESYSTEMUTILS_H_ 55 namespace filesystem {
58 using Permissions = uint32_t;
64 enum PermBits : Permissions {
87 extern const Permissions DEFAULT_DIRECTORY_PERMISSIONS;
89 extern const Permissions DEFAULT_FILE_PERMISSIONS;
100 enum class FileType { REGULAR_FILE, DIRECTORY,
ALL };
110 bool changePermissions(
const std::string& path, Permissions perms);
143 bool makeDirectory(
const std::string& path, Permissions perms = DEFAULT_DIRECTORY_PERMISSIONS);
248 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_FILESYSTEM_FILESYSTEMUTILS_H_ 250 #endif // FILE_SYSTEM_UTILS_ENABLED ::std::string string
Definition: gtest-port.h:1097
ALL
Definition: keywords.py:49
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
type
Definition: upload.py:443
const T & move(const T &t)
Definition: gtest-port.h:1317