summaryrefslogtreecommitdiff
path: root/model/new.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-06-01 18:47:44 +0200
committerewy <ewy0@protonmail.com>2026-06-01 18:47:44 +0200
commit46d032cd21b0e8e2c94a32333d3805ec76980cca (patch)
treefbb8aed5c5a501aca1309f62a9d4440ca949ce4c /model/new.go
parent7585a488b7b1e1812f7ebf50107139e2fd65f035 (diff)
add man(1) generation
Diffstat (limited to 'model/new.go')
-rw-r--r--model/new.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/model/new.go b/model/new.go
index e83c314..94e19a8 100644
--- a/model/new.go
+++ b/model/new.go
@@ -21,8 +21,9 @@ func NewState(rootFs fs.FS, locations []string, indexers []Indexer, runners []Ru
wg.Go(func() {
_, dirName := filepath.Split(strings.TrimSuffix(loc, "/"))
src := &Source{
- Path: loc,
- Identity: identity.New(dirName),
+ Path: loc,
+ Identity: identity.New(dirName),
+ Whitelists: make(map[string][]string),
}
sources[i] = src
loc = strings.TrimSuffix(loc, "/")