MCPcopy
hub / github.com/EutropicAI/Final2x / getByID

Method getByID

src/renderer/src/utils/IOPath.ts:40–43  ·  view source on GitHub ↗

* @description Get an inputpath from inputpathMap by id * @param id inputpath id

(id: string)

Source from the content-addressed store, hash-verified

38 * @param id inputpath id
39 */
40 static getByID(id: string): string {
41 const { inputpathMap } = storeToRefs(useIOPathStore())
42 return inputpathMap.value.get(id) || ''
43 }
44
45 /**
46 * @description Get all inputpath from inputpathMap

Callers 1

IOPath.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected