MCPcopy Create free account
hub / github.com/ether/etherpad / isReadOnlyId

Function isReadOnlyId

src/node/db/ReadOnlyManager.ts:32–32  ·  view source on GitHub ↗
(id:string)

Source from the content-addressed store, hash-verified

30 * @return {Boolean} true if the id is readonly
31 */
32const isReadOnlyId = (id:string) => id.startsWith('r.');
33
34/**
35 * returns a read only id for a pad

Callers 1

getIdsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected