pub fn is_valid_directory_path(path: &str) -> bool
Expand description
Validate that a directory path exists
This function checks whether the specified directory path exists on the filesystem and is actually a directory (not a file).
§Arguments
path
- The directory path to validate
§Returns
true
if the directory exists, false
otherwise.
§Examples
use tree_parser::is_valid_directory_path;
// This will depend on your actual filesystem
let exists = is_valid_directory_path("src");