Function gkfs::path::resolve(const string&, string&, bool)
Defined in File path.cpp
Function Documentation
-
bool gkfs::path::resolve(const string &path, string &resolved, bool resolve_last_link)
Resolve path to its canonical representation
Populate
resolvedwith the canonical representation ofpath.“.”, “..” and symbolic links gets resolved.
If
resolve_last_linkis false, the last components in path won’t be resolved if its a link.returns true if the resolved path fall inside GekkoFS namespace, and false otherwise.