Function gkfs::path::resolve(const string&, string&, bool)

Function Documentation

bool gkfs::path::resolve(const string &path, string &resolved, bool resolve_last_link)

Resolve path to its canonical representation

Populate resolved with the canonical representation of path.

“.”, “..” and symbolic links gets resolved.

If resolve_last_link is 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.