Class navigator

Class Documentation

class legion::core::filesystem::navigator

Resolves path strings to solutions of resolver + internal path.


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.


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

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