MCPcopy Index your code
hub / github.com/ether/etherpad / setPublicStatus

Method setPublicStatus

src/node/db/Pad.ts:866–869  ·  view source on GitHub ↗
(publicStatus: boolean)

Source from the content-addressed store, hash-verified

864
865 // set in db
866 async setPublicStatus(publicStatus: boolean) {
867 this.publicStatus = publicStatus;
868 await this.saveToDatabase();
869 }
870
871 // Returns the newly created saved revision, or undefined if this revision
872 // was already saved (so callers can broadcast only genuine additions).

Callers 1

API.tsFile · 0.80

Calls 1

saveToDatabaseMethod · 0.95

Tested by

no test coverage detected