Trait countroo::PathHelpers
source · pub trait PathHelpers {
// Required methods
fn is_relative_path(path: &str) -> bool;
fn find_src_folder() -> Option<PathBuf>;
fn from_rel_file_path(rel_path: &str) -> Result<Config, LocCounterError>;
fn from_abs_file_path(
config_path: &str,
project_path: String
) -> Result<Config, LocCounterError>;
}
Required Methods§
fn is_relative_path(path: &str) -> bool
fn find_src_folder() -> Option<PathBuf>
fn from_rel_file_path(rel_path: &str) -> Result<Config, LocCounterError>
fn from_abs_file_path( config_path: &str, project_path: String ) -> Result<Config, LocCounterError>
Object Safety§
This trait is not object safe.