MCPcopy
hub / github.com/coder/mux / relative

Method relative

src/node/services/tools/fileCommon.ts:161–161  ·  view source on GitHub ↗
(from: string, to: string)

Source from the content-addressed store, hash-verified

159interface RuntimePathModule {
160 isAbsolute(filePath: string): boolean;
161 relative(from: string, to: string): string;
162}
163
164type ComparablePathKind = "absolute" | "home";

Callers 15

isPathInsideDirFunction · 0.80
isPathInsideDirFunction · 0.80
isPathWithinRootFunction · 0.80
resolveWorkspaceFilePathFunction · 0.80
toCatalogRelativePathFunction · 0.80
resolveSkillFilePathFunction · 0.80
resolvePatchPathFunction · 0.80
isWithinAllowedRootFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected