MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / init

Function init

apps/server/internal/vault/vault.go:131–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129}
130
131func init() {
132 for _, dir := range legacyAttachmentsDirs {
133 reservedRootNames[dir] = struct{}{}
134 hiddenPrimaryRootNames[dir] = struct{}{}
135 }
136}
137
138func shouldHidePrimaryRootName(name string) bool {
139 _, hidden := hiddenPrimaryRootNames[name]

Callers 1

AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected