MCPcopy Create free account
hub / github.com/massCodeIO/massCode / getImportPath

Function getImportPath

src/main/import/notes/obsidian.ts:13–15  ·  view source on GitHub ↗
(file: ImportFile)

Source from the content-addressed store, hash-verified

11} from '../snippets/normalizers'
12
13function getImportPath(file: ImportFile): string {
14 return (file.relativePath || file.name).replace(/\\/g, '/')
15}
16
17function isSupportedMarkdownFile(filePath: string): boolean {
18 return (

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected