is_file_relative_path

Function is_file_relative_path 

Source
pub fn is_file_relative_path(path: &str) -> bool
Expand description

Checks if a path is a file-relative path (starts with “./” or “../”).

§Arguments

  • path - The path to check

§Returns

true if the path is file-relative, false otherwise