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

Function getOverridesDir

apps/desktop/src/main/overrides.ts:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15import { getConfigDir } from './app-config'
16
17export function getOverridesDir(): string {
18 return path.join(getConfigDir(), 'overrides')
19}
20
21/** A bare `.css` filename resolving to a direct child of the overrides dir. */
22function isSafeName(name: unknown): name is string {

Callers 5

overrides.test.tsFile · 0.90
ensureOverridesDirFunction · 0.85
listOverridesFunction · 0.85
startWatchingOverridesFunction · 0.85
deleteOverrideFunction · 0.85

Calls 1

getConfigDirFunction · 0.90

Tested by

no test coverage detected