MCPcopy Create free account
hub / github.com/chhoumann/quickadd / areSameVaultFilePath

Function areSameVaultFilePath

src/utils/fileOpening.ts:250–252  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

248}
249
250export function areSameVaultFilePath(a: string, b: string): boolean {
251 return normalizeVaultFilePath(a) === normalizeVaultFilePath(b);
252}
253
254/**
255 * Finds an already-open leaf that is displaying `file` and optionally focuses it.

Callers 2

openExistingFileTabFunction · 0.85

Calls 1

normalizeVaultFilePathFunction · 0.85

Tested by

no test coverage detected