19 lines
515 B
C++
19 lines
515 B
C++
#ifndef UTILITY_FILE_H
|
|
#define UTILITY_FILE_H
|
|
|
|
#include <vector>
|
|
#include <set>
|
|
|
|
class FilePath;
|
|
|
|
namespace utility
|
|
{
|
|
std::vector<FilePath> getTopLevelPaths(const std::vector<FilePath>& paths);
|
|
std::vector<FilePath> getTopLevelPaths(const std::set<FilePath>& paths);
|
|
|
|
FilePath getAsRelativeIfShorter(const FilePath& absolutePath, const FilePath& baseDirectory);
|
|
std::vector<FilePath> getAsRelativeIfShorter(const std::vector<FilePath>& absolutePaths, const FilePath& baseDirectory);
|
|
}
|
|
|
|
#endif // UTILITY_FILE_H
|