MCPcopy Create free account
hub / github.com/dropbox/hackpad / accessPadGlobal

Function accessPadGlobal

etherpad/src/etherpad/pad/model.js:95–1017  ·  view source on GitHub ↗

* Access a pad object, which is passed as an argument to * the given padFunc, which is executed inside an exclusive lock, * and return the result. If the pad doesn't exist, a wrapper * object is still created and passed to padFunc, and it can * be used to check whether the pad exists and create

(padId, padFunc, rwMode, skipAccessCheck)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

flushModelCacheForPadFunction · 0.70
rollbackToRevNumFunction · 0.70
rollforwardToRevNumFunction · 0.70
updateSolrIndexForPadFunction · 0.70
taskCheckForStalePadsFunction · 0.70
_insertResponseTextFunction · 0.50
processInboxFunction · 0.50

Calls 15

doWithPadLockFunction · 0.85
_getPadMetaDataFunction · 0.85
cleanTextFunction · 0.85
addRevisionFunction · 0.85
_insertPadMetaDataFunction · 0.85
renderTemplateAsStringFunction · 0.85
urlPostFunction · 0.85
_destroyPadStringArrayFunction · 0.85
_removePadMetaDataFunction · 0.85
_removePadAPoolFunction · 0.85
_getPadStringArrayFunction · 0.85
_writePadSqlMetaFunction · 0.85

Tested by

no test coverage detected