summaryrefslogtreecommitdiff
path: root/indexers/pikdex/hydrate.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-06-02 15:07:59 +0200
committerewy <ewy0@protonmail.com>2026-06-02 15:07:59 +0200
commitf77fc4ef5f2df96c6bba3cd6c7d88a77d61a5a80 (patch)
treebdead2d2b245407aaa20e71c433d7c8f757d7049 /indexers/pikdex/hydrate.go
parent6d607f114f63184a43237a3ff80aee622401ee23 (diff)
add .wants and .includesHEADmaster
.wants adds potential out-of-tree sources to your state (for monorepos, for example) .includes adds targets from another source to this one, adding inheritance
Diffstat (limited to 'indexers/pikdex/hydrate.go')
-rw-r--r--indexers/pikdex/hydrate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexers/pikdex/hydrate.go b/indexers/pikdex/hydrate.go
index 1f71992..a0dfc2b 100644
--- a/indexers/pikdex/hydrate.go
+++ b/indexers/pikdex/hydrate.go
@@ -6,7 +6,7 @@ import (
)
func (u *pikdex) Mod(src *model.Source, result *model.HydratedSource) error {
- mod := u.mods[strings.TrimSuffix(src.Path, "/")]
+ mod := u.Data[strings.TrimSuffix(src.Path, "/")]
if mod.Path != "" {
if mod.Aliases != nil {
result.Aliases = append(result.Aliases, mod.Aliases...)