Lines Matching refs:filesystem
65 std::filesystem::path loc( in handleFilePut()
69 std::filesystem::recursive_directory_iterator iter(loc, ec); in handleFilePut()
83 if (!std::filesystem::is_directory(it, ec)) in handleFilePut()
95 std::uintmax_t fileSize = std::filesystem::file_size(it, ec); in handleFilePut()
135 bool fileExists = std::filesystem::exists(loc, ec); in handleFilePut()
150 std::uintmax_t currentFileSize = std::filesystem::file_size(loc, ec); in handleFilePut()
193 std::filesystem::perms permission = std::filesystem::perms::owner_write | in handleFilePut()
194 std::filesystem::perms::owner_read; in handleFilePut()
195 std::filesystem::permissions(loc, permission); in handleFilePut()
225 std::filesystem::path loc( in handleConfigFileList()
227 if (std::filesystem::exists(loc) && std::filesystem::is_directory(loc)) in handleConfigFileList()
229 for (const auto& file : std::filesystem::directory_iterator(loc)) in handleConfigFileList()
231 const std::filesystem::path& pathObj = file.path(); in handleConfigFileList()
232 if (std::filesystem::is_regular_file(pathObj)) in handleConfigFileList()
254 std::filesystem::path loc( in deleteConfigFiles()
256 if (std::filesystem::exists(loc) && std::filesystem::is_directory(loc)) in deleteConfigFiles()
258 std::filesystem::remove_all(loc, ec); in deleteConfigFiles()
275 std::filesystem::path loc( in handleFileGet()
277 if (!std::filesystem::exists(loc) || !std::filesystem::is_regular_file(loc)) in handleFileGet()