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

Function getPadId

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

Source from the content-addressed store, hash-verified

58 * @return {String} the padId
59 */
60const getPadId = async (readOnlyId:string) => await db.get(`readonly2pad:${readOnlyId}`);
61
62/**
63 * returns the padId and readonlyPadId in an object for any id

Callers 1

getIdsFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected