Example #1
0
func (repo *Repository) Ignores() (*format.GlobTable, error) {
	path := filepath.Join(repo.path, "..", ".gitignore")
	return format.GlobTableAtPath(path)
}
Example #2
0
func (repo *Repository) Excludes() (*format.GlobTable, error) {
	path := filepath.Join(repo.path, "info", "exclude")
	return format.GlobTableAtPath(path)
}