MCPcopy
hub / github.com/ajv-validator/ajv / getFullPath

Function getFullPath

lib/compile/resolve.ts:70–74  ·  view source on GitHub ↗
(resolver: UriResolver, id = "", normalize?: boolean)

Source from the content-addressed store, hash-verified

68}
69
70export function getFullPath(resolver: UriResolver, id = "", normalize?: boolean): string {
71 if (normalize !== false) id = normalizeId(id)
72 const p = resolver.parse(id)
73 return _getFullPath(resolver, p)
74}
75
76export function _getFullPath(resolver: UriResolver, p: URIComponent): string {
77 const serialized = resolver.serialize(p)

Callers 4

compileSchemaFunction · 0.90
resolveSchemaFunction · 0.90
constructorMethod · 0.90
getSchemaRefsFunction · 0.85

Calls 3

normalizeIdFunction · 0.85
_getFullPathFunction · 0.85
parseMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…