MCPcopy
hub / github.com/obsidianmd/obsidian-help / FileInfo

Interface FileInfo

scripts/translate-locale.ts:461–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459// ─── Collect files ────────────────────────────────────────────────────────────
460
461interface FileInfo {
462 absPath: string;
463 relPath: string;
464 enRelPath: string;
465 permalink: string;
466 frontmatter: Record<string, unknown>;
467 content: string;
468}
469
470function collectLocaleFiles(enFiles: Map<string, { relPath: string; content: string }>): FileInfo[] {
471 const results: FileInfo[] = [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected