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

Function isDatabaseSidecarPath

packages/shared-domain/src/databases.ts:261–263  ·  view source on GitHub ↗
(relPath: string)

Source from the content-addressed store, hash-verified

259
260/** True for the sidecar file path (`*.csv.base.json`). */
261export function isDatabaseSidecarPath(relPath: string): boolean {
262 return relPath.toLowerCase().endsWith(`.csv${DATABASE_SIDECAR_SUFFIX}`)
263}
264
265/**
266 * True for files that belong to a database but aren't the user-facing entity.

Callers 1

databaseCsvPathForFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected