Skip to main content

parse_gitattributes_file_content

Function parse_gitattributes_file_content 

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

Parse one gitattributes file from disk (patterns are relative to attr_base, the directory containing the file — use "" for the repository root file).