Add ignore rules for a repository
Clear ignore rules that were explicitly added
Test if the ignore rules apply to a given path