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

Function stateFilePath

src/node/updater/index.ts:35–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33let scheduler: SchedulerRunner | null = null;
34
35export const stateFilePath = () => path.join(settings.root, 'var', 'update-state.json');
36
37/** Returns the current state from memory; loads on first call. */
38export const getCurrentState = async (): Promise<UpdateState> => {

Callers 10

computeOutdatedFunction · 0.90
expressCreateServerFunction · 0.90
expressCreateServerFunction · 0.90
getCurrentStateFunction · 0.85
performCheckFunction · 0.85
getRollbackDepsFunction · 0.85
buildSchedulerApplyDepsFunction · 0.85
notifyApplyFailureFunction · 0.85
schedulerTriggerApplyFunction · 0.85
expressCreateServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected