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

Function sameFile

apps/desktop/src/main/cli-install.ts:265–271  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

263}
264
265function sameFile(a: string, b: string): boolean {
266 try {
267 return path.resolve(a) === path.resolve(b)
268 } catch {
269 return false
270 }
271}
272
273/* ---------- Status read ----------------------------------------------- */
274

Callers 2

findExistingInstallFunction · 0.85
removeManagedLinksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected