MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / normalize_path

Function normalize_path

src/base/path.cpp:170–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170std::string normalize_path(const std::string& filename)
171{
172 std::string fn = base::get_canonical_path(filename);
173 fn = base::fix_path_separators(fn);
174 return fn;
175}
176
177bool has_file_extension(const std::string& filename, const std::string& csv_extensions)
178{

Callers 7

initializeMethod · 0.85
normalizePathMethod · 0.85
userThemeFolderMethod · 0.85
themeFoldersMethod · 0.85
setFilenameMethod · 0.85
getByFileNameMethod · 0.85

Calls 2

fix_path_separatorsFunction · 0.85
get_canonical_pathFunction · 0.70

Tested by

no test coverage detected