MCPcopy Create free account
hub / github.com/Make-md/makemd / parentPathForPath

Method parentPathForPath

src/core/middleware/filesystem.ts:139–142  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

137 return this.adapterForPath(path).resourcePathForPath(path);
138 }
139 public parentPathForPath (path: string) {
140
141 return this.adapterForPath(path).parentPathForPath(path);
142 }
143
144 public async createFileCache (path: string) {
145 const file = await this.getFile(path);

Callers

nothing calls this directly

Calls 2

adapterForPathMethod · 0.95
parentPathForPathMethod · 0.65

Tested by

no test coverage detected