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

Function toAbsolutePath

pdal/util/FileUtils.cpp:363–366  ·  view source on GitHub ↗

if the filename is an absolute path, just return it otherwise, make it absolute (relative to current working dir) and return that

Source from the content-addressed store, hash-verified

361// if the filename is an absolute path, just return it
362// otherwise, make it absolute (relative to current working dir) and return that
363std::string toAbsolutePath(const std::string& filename)
364{
365 return fs::absolute(toNative(filename)).u8string();
366}
367
368
369// if the filename is an absolute path, just return it

Callers 14

handleRelativePathFunction · 0.85
TESTFunction · 0.85
createFileMethod · 0.85
addStacMetadataFunction · 0.85
classifyGroundMethod · 0.85
createLowMaskMethod · 0.85
createObjMaskMethod · 0.85
createZIminMethod · 0.85
createZInetMethod · 0.85
createZIproMethod · 0.85
saveToFileMethod · 0.85
saveMovableToFileMethod · 0.85

Calls 2

u8stringMethod · 0.80
toNativeFunction · 0.70

Tested by 1

TESTFunction · 0.68