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

Method setSubject

lib/src/resource.ts:329–333  ·  view source on GitHub ↗

Set the Subject / ID URL of the Resource. Does not update the Store.

(subject: string)

Source from the content-addressed store, hash-verified

327
328 /** Set the Subject / ID URL of the Resource. Does not update the Store. */
329 setSubject(subject: string): void {
330 tryValidURL(subject);
331 this.commitBuilder.subject = subject;
332 this.subject = subject;
333 }
334}
335
336enum RightType {

Callers 3

renameSubjectMethod · 0.80
parseJsonADResourceFunction · 0.80
createInviteFunction · 0.80

Calls 1

tryValidURLFunction · 0.90

Tested by

no test coverage detected