Lines Matching full:filesystem
79 auto objPath = std::filesystem::path(baseEntryPath) / std::to_string(id); in createDump()
118 std::filesystem::path dumpPath(dumpDir); in captureDump()
171 void Manager::createEntry(const std::filesystem::path& file) in createEntry()
188 ->update(timestamp, std::filesystem::file_size(file), file); in createEntry()
193 auto objPath = std::filesystem::path(baseEntryPath) / std::to_string(id); in createEntry()
202 std::filesystem::file_size(file), file, in createEntry()
213 timestamp, "SIZE", std::filesystem::file_size(file), "FILENAME", in createEntry()
226 if (!std::filesystem::is_directory(i.first)) in watchCallback()
242 std::filesystem::is_directory(i.first)) in watchCallback()
255 void Manager::removeWatch(const std::filesystem::path& path) in removeWatch()
263 std::filesystem::path dir(dumpDir); in restore()
264 if (!std::filesystem::exists(dir) || std::filesystem::is_empty(dir)) in restore()
270 for (const auto& p : std::filesystem::directory_iterator(dir)) in restore()
276 if ((std::filesystem::is_directory(p.path())) && in restore()
282 std::filesystem::directory_iterator(p.path())) in restore()
291 auto objPath = std::filesystem::path(baseEntryPath) / idStr; in restore()
309 for (const auto& p : std::filesystem::recursive_directory_iterator(dir)) in getDirectorySize()
311 if (!std::filesystem::is_directory(p)) in getDirectorySize()
313 std::uintmax_t fileSize = std::filesystem::file_size(p); in getDirectorySize()
337 auto delPath = std::filesystem::path(dumpDir) / in getAllowedSize()