Skip to main content

load

Function load 

Source
pub fn load(dir: &Path) -> Result<IgnoreList, IgnoreError>
Expand description

Load and merge .gitignore then .mkitignore from dir. Returns an empty list if neither file is present.

.gitignore patterns come first so a repo’s own .mkitignore wins under last-match-wins.

§Errors