pub fn is_directory_path(path: &PathBuf) -> boolExpand description
Determines if a path represents a directory
This function uses heuristics based on file extension to guess if the path is meant to be a directory rather than actually checking the filesystem.
§Arguments
path- PathBuf to analyze
§Returns
bool- True if the path likely represents a directory, false otherwise