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

Method setUnsafe

lib/src/resource.ts:319–321  ·  view source on GitHub ↗

* Set a Property, Value combination without performing validations or adding * it to the CommitBuilder.

(prop: string, val: JSONValue)

Source from the content-addressed store, hash-verified

317 * it to the CommitBuilder.
318 */
319 setUnsafe(prop: string, val: JSONValue): void {
320 this.propvals.set(prop, val);
321 }
322
323 /** Sets the error on the Resource. Does not Throw. */
324 setError(e: Error): void {

Callers 3

parseAndApplyFunction · 0.80
parseJsonADResourceFunction · 0.80
store.test.tsFile · 0.80

Calls 1

setMethod · 0.80

Tested by

no test coverage detected