|
| virtual | ~IPathResolver ()=default |
| virtual Result< std::filesystem::path, FileError > | getAbsolutePath (const std::filesystem::path &path) const =0 |
| | Get the Absolute Path object.
|
| virtual Result< std::filesystem::path, FileError > | getCanonicalPath (const std::filesystem::path &path) const =0 |
| | Get the Canonical Path object.
|
| virtual Result< std::filesystem::path, FileError > | getRelativePath (const std::filesystem::path &target, const std::filesystem::path &base=std::filesystem::current_path()) const =0 |
| | Get the Relative Path object.
|
| virtual bool | isAbsolute (const std::filesystem::path &path) const =0 |
| | Check if path is absolute.
|
| virtual bool | isRelative (const std::filesystem::path &path) const =0 |
| | Check if path is relative.
|
| virtual std::filesystem::path | getParent (const std::filesystem::path &path) const =0 |
| | Get the Parent object.
|
| virtual std::string | getFilename (const std::filesystem::path &path) const =0 |
| | Get the Filename object.
|
| virtual std::string | getExtension (const std::filesystem::path &path) const =0 |
| | Get the Extension object.
|
| virtual std::string | getStem (const std::filesystem::path &path) const =0 |
| | Get the Stem object.
|
| virtual std::filesystem::path | join (const std::vector< std::string > &parts) const =0 |
| | Join multiple path components.
|
Interface for path resolution and manipulation.
Provides abstraction for filesystem path operations.