|
Arkanjo 0.2
A tool for find code duplicated functions in codebases
|
Path manipulation class for tool-specific directory structure. More...
#include <path.hpp>
Public Member Functions | |
| bool | is_empty () const |
| Checks if path is empty. | |
| Path ()=default | |
| Default constructor. | |
| Path (const fs::path &path) | |
| Constructs from path string. | |
| std::string | build_source_path () const |
| Builds source file path. | |
| std::string | build_header_path () const |
| Builds header file path. | |
| std::string | build_info_path () const |
| Builds metadata file path. | |
| std::string | build_relative_path () const |
| Builds relative path portion. | |
| std::string | build_function_name () const |
| Extracts function name from path. | |
| std::vector< std::string > | get_common_folders (const Path &path) const |
| Finds common folders with another path. | |
| bool | contains_given_pattern (const std::string &pattern) const |
| Checks for pattern in path. | |
| bool | operator< (const Path &path) const |
| Path comparison operator. | |
| std::string | format_path_message_in_pair () const |
| Formats path for display. | |
Path manipulation class for tool-specific directory structure.
Manages paths to source files, headers, and metadata in the temporary codebase. Provides methods for path construction and analysis without file I/O.
|
default |
Default constructor.
|
explicit |
| std::string Path::build_function_name | ( | ) | const |
| std::string Path::build_header_path | ( | ) | const |
| std::string Path::build_info_path | ( | ) | const |
| std::string Path::build_relative_path | ( | ) | const |
| std::string Path::build_source_path | ( | ) | const |
| bool Path::contains_given_pattern | ( | const std::string & | pattern | ) | const |
| std::string Path::format_path_message_in_pair | ( | ) | const |
| std::vector< std::string > Path::get_common_folders | ( | const Path & | path | ) | const |
| bool Path::is_empty | ( | ) | const |
| bool Path::operator< | ( | const Path & | path | ) | const |