MCPcopy Create free account
hub / github.com/apache/maka / isShellRunResourceRef

Function isShellRunResourceRef

packages/runtime/src/shell-run-contract.ts:189–191  ·  view source on GitHub ↗
(ref: string)

Source from the content-addressed store, hash-verified

187}
188
189export function isShellRunResourceRef(ref: string): boolean {
190 return parseShellRunResourceRef(ref) !== null;
191}
192
193export function parseShellRunResourceRef(ref: string): { shellRunId: string } | null {
194 let url: URL;

Callers 5

#queryMethod · 0.90
#acquireMethod · 0.90
#controlMethod · 0.90
#releaseMethod · 0.90
#stopMethod · 0.90

Calls 1

parseShellRunResourceRefFunction · 0.85

Tested by

no test coverage detected