Skip to main content

load_gitattributes_stack

Function load_gitattributes_stack 

Source
pub fn load_gitattributes_stack(
    repo: &Repository,
    work_tree: &Path,
) -> Result<ParsedGitAttributes, Error>
Expand description

Load the full stack of attribute rules for a normal repository (working tree).

Results are memoized for the process lifetime and revalidated against stat stamps on every call (see the cache notes above).