version2 (#1)

Co-authored-by: u80864958 <niklas.breitenstein@bit.admin.ch>
Reviewed-on: #1
This commit is contained in:
2025-04-02 17:29:26 +02:00
parent abe9c7d1fb
commit 158e963c7b
11 changed files with 310 additions and 130 deletions

9
pkg/ignore/filesystem.go Normal file
View File

@ -0,0 +1,9 @@
package ignore
import "strings"
type Filesystem struct{}
func (f Filesystem) Ignore(name string) bool {
return strings.Contains(name, "/.") || strings.HasPrefix(name, ".")
}