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