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

Function push

apps/desktop/src/main/cli-install.ts:103–108  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

101 const seen = new Set<string>()
102 const out: string[] = []
103 const push = (p: string): void => {
104 const resolved = path.resolve(p)
105 if (seen.has(resolved)) return
106 seen.add(resolved)
107 out.push(resolved)
108 }
109 push(path.join(home, '.local', 'bin'))
110 push(path.join(home, 'bin'))
111 push('/opt/homebrew/bin')

Callers 1

candidateDirsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected