#ifndef UTILITY_FILE_H #define UTILITY_FILE_H #include #include class FilePath; namespace utility { std::vector partitionFilePathsBySize(std::vector filePaths, int partitionCount = 0); std::vector getTopLevelPaths(const std::vector& paths); std::vector getTopLevelPaths(const std::set& paths); FilePath getExpandedPath(const FilePath& path); std::vector getExpandedPaths(const std::vector& paths); FilePath getExpandedAndAbsolutePath(const FilePath& path, const FilePath& baseDirectory); FilePath getAsRelativeIfShorter(const FilePath& absolutePath, const FilePath& baseDirectory); std::vector getAsRelativeIfShorter(const std::vector& absolutePaths, const FilePath& baseDirectory); } #endif // UTILITY_FILE_H