Skip to main content

parse_gitattributes_content

Function parse_gitattributes_content 

Source
pub fn parse_gitattributes_content(content: &str) -> Vec<AttrRule>
Expand description

Parse gitattributes content into attribute rules.

This is useful when attributes are sourced from non-worktree inputs (for example, tree objects selected by --attr-source).