Skip to main content

parse_gitattributes_file_content_with_base

Function parse_gitattributes_file_content_with_base 

Source
pub fn parse_gitattributes_file_content_with_base(
    content: &str,
    display_path: &str,
    attr_base: &str,
) -> ParsedGitAttributes
Expand description

Parse attributes defined in a .gitattributes file located in attr_base (repo-relative, / separators, no trailing slash; empty string for the repository root).