Welcome to the new CppUtils documentation!
CppUtils::FileSystem::FileStaging
CLASSPublic methods & functions
Section titled “Public methods & functions”FileStaging::FileStaging( std::filesystem::path inputPath, std::filesystem::path stagedPath, std::filesystem::path quarantineDirectory = "", std::filesystem::path archiveDirectory = "");[[nodiscard]] auto FileStaging::quarantineDirectory() const noexcept -> const std::filesystem::path&;[[nodiscard]] static auto FileStaging::stage( const std::filesystem::path& inputFilePath, const std::filesystem::path& stagingDirectory = "staging", const std::filesystem::path& quarantineDirectory = "", const std::filesystem::path& archiveDirectory = "") -> std::expected<FileStaging, std::error_code>;