Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
60
const
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
getIds
Function · 0.85
Calls
1
get
Method · 0.80
Tested by
no test coverage detected