Lines Matching full:filesystem

16             std::filesystem::path(vpd::constants::systemInvPath)  in checkInventoryBackupPath()
19 if (std::filesystem::is_directory(l_systemInventoryBackupPath) && in checkInventoryBackupPath()
20 !std::filesystem::is_empty(l_systemInventoryBackupPath)) in checkInventoryBackupPath()
25 auto l_backupDirIt = std::filesystem::directory_iterator{ in checkInventoryBackupPath()
29 std::filesystem::begin(l_backupDirIt), in checkInventoryBackupPath()
30 std::filesystem::end(l_backupDirIt), in checkInventoryBackupPath()
66 std::filesystem::path(vpd::constants::systemVpdInvPath) in restoreInventoryBackupData()
69 if (std::filesystem::is_directory(l_systemInventoryPrimaryPath)) in restoreInventoryBackupData()
73 std::filesystem::path(vpd::constants::systemVpdInvPath) in restoreInventoryBackupData()
78 auto l_backupDirIt = std::filesystem::directory_iterator{ in restoreInventoryBackupData()
83 using FailedPathList = std::vector<std::filesystem::path>; in restoreInventoryBackupData()
86 std::for_each(std::filesystem::begin(l_backupDirIt), in restoreInventoryBackupData()
87 std::filesystem::end(l_backupDirIt), in restoreInventoryBackupData()
164 std::filesystem::path(vpd::constants::systemVpdInvPath) in clearInventoryBackupData()
167 std::filesystem::remove_all(l_systemInventoryBackupPath); in clearInventoryBackupData()
232 const std::filesystem::path& l_src, in moveFiles()
233 const std::filesystem::path& l_dest) const noexcept in moveFiles()
241 std::filesystem::rename(l_src, l_dest, l_ec); in moveFiles()
249 std::filesystem::copy( in moveFiles()
251 std::filesystem::copy_options::recursive | in moveFiles()
252 std::filesystem::copy_options::overwrite_existing); in moveFiles()
256 std::filesystem::remove_all(l_src, l_ec)) in moveFiles()