MCPcopy Create free account
hub / github.com/arktypeio/arktype / pathOf

Method pathOf

ark/aot/graph.ts:1232–1234  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

1230 }
1231
1232 pathOf(id: string): string {
1233 return this.cwd === undefined ? id : printablePathOf(this.cwd, id)
1234 }
1235
1236 add(id: string, source: string, mappings?: string): SourceModule {
1237 const existing = this.modulesById[id]

Callers 15

addMethod · 0.95
moduleOfMethod · 0.95
loadMethod · 0.95
jsonExportOfMethod · 0.95
declarationsOfMethod · 0.95
packageModuleOfMethod · 0.95
answerFunction · 0.45
transformedOfFunction · 0.45
moduleOfMethod · 0.45
scopeNameOfMethod · 0.45
internedInMethod · 0.45
adoptCellsMethod · 0.45

Calls 1

printablePathOfFunction · 0.90

Tested by

no test coverage detected