Class navigator

Class Documentation

class legion::core::filesystem::navigator

Resolves path strings to solutions of resolver + internal path.

Note

For internal use only.

Public Types

using solution = std::vector<std::pair<filesystem_resolver*, std::string>>

Public Functions

inline explicit navigator(std::string path)
common::result<solution, fs_error> find_solution(const std::string &opt_root_domain = "") const

Build a solution from the path provided in the constructor.

Return

Ok of vector of pair of resolver pointers and paths or Err of fs_error when failure.

Parameters
  • opt_root_domain: New root domain when not present in path.