MCPcopy Create free account
hub / github.com/bcms/cms / resolvePath

Method resolvePath

client/src/handlers/media.ts:72–80  ·  view source on GitHub ↗

* Resolves the full path of a media item by traversing its parent hierarchy. * * @param {Media} media - The media item for which to resolve the path. * @param {Media[]} allMedia - An array of all media items, used to locate parent items. * @return {string} The resolved full path

(media: Media, allMedia: Media[])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

findMethod · 0.65

Tested by

no test coverage detected