Function validate_resource_path
Source pub fn validate_resource_path(
path: &Path,
resource_type: &str,
project_dir: &Path,
) -> Result<PathBuf>
Expand description
Validates and normalizes a file path for a specific resource type.
§Arguments
path - The path to validate
resource_type - The type of resource (e.g., “agent”, “snippet”)
project_dir - The project directory
§Returns
The validated and normalized path