MCPcopy Index your code
hub / github.com/atomicdata-dev/atomic-data-browser / removeResource

Method removeResource

lib/src/store.ts:254–256  ·  view source on GitHub ↗

Removes (destroys / deletes) resource from this store

(subject: string)

Source from the content-addressed store, hash-verified

252
253 /** Removes (destroys / deletes) resource from this store */
254 removeResource(subject: string): void {
255 this.resources.delete(subject);
256 }
257
258 /**
259 * Changes the Subject of a Resource. Checks if the new name is already taken,

Callers 3

renameSubjectMethod · 0.95
destroyMethod · 0.80
parseAndApplyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected