MCPcopy Create free account
hub / github.com/UNLINEARITY/Obsidian-CodeSpace / normalizeIgnoredPath

Method normalizeIgnoredPath

src/main.ts:467–469  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

465 }
466
467 private normalizeIgnoredPath(path: string): string {
468 return normalizePath(path).replace(/^\/+/, "").replace(/\/+$/, "");
469 }
470
471 private normalizeIgnoredFiles(paths: string[] | undefined): string[] {
472 if (!Array.isArray(paths)) {

Callers 6

isIgnoredFileMethod · 0.95
ignoreFileMethod · 0.95
unignoreFileMethod · 0.95
normalizeIgnoredFilesMethod · 0.95

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected