MCPcopy Create free account
hub / github.com/PDAL/PDAL / toCanonicalPath

Function toCanonicalPath

pdal/util/FileUtils.cpp:356–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354
355
356std::string toCanonicalPath(std::string filename)
357{
358 return fs::weakly_canonical(toNative(filename)).u8string();
359}
360
361// if the filename is an absolute path, just return it
362// otherwise, make it absolute (relative to current working dir) and return that

Callers 1

pluginSearchPathsFunction · 0.85

Calls 2

u8stringMethod · 0.80
toNativeFunction · 0.70

Tested by

no test coverage detected