MCPcopy
hub / github.com/danielmiessler/Fabric / getObsidianFilePath

Function getObsidianFilePath

web/src/lib/store/obsidian-store.ts:57–67  ·  view source on GitHub ↗
(noteName: string)

Source from the content-addressed store, hash-verified

55
56// Helper to get file path
57export function getObsidianFilePath(noteName: string): string | undefined {
58 const enabled = get(featureFlags).enableObsidianIntegration;
59 if (!enabled || !noteName) return undefined;
60
61 return `myfiles/Fabric_obsidian/${
62 new Date().toISOString().split('T')[0]
63 }-${noteName.trim()}.md`;
64
65
66
67}
68

Callers

nothing calls this directly

Calls 1

getFunction · 0.50

Tested by

no test coverage detected