MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / _loadFileTree

Method _loadFileTree

chat/components/MemoryEditor.js:223–231  ·  view source on GitHub ↗
(operation = null)

Source from the content-addressed store, hash-verified

221 }
222
223 _isMemoryOperationActive(operation) {
224 return !!operation
225 && operation.generation === this.memoryOperationGeneration
226 && !operation.signal?.aborted
227 && (operation.allowWhileOff || this._isMemoryFeatureEnabled());
228 }
229
230 _assertMemoryOperationActive(operation) {
231 if (!this._isMemoryOperationActive(operation)) {
232 throw this._createMemoryOperationAbortError();
233 }
234 }

Callers 9

openMethod · 0.95
_createNewFileMethod · 0.95
_saveFileMethod · 0.95
_deleteFileMethod · 0.95
_deleteFolderMethod · 0.95
_renameFolderMethod · 0.95
_handleCleanExpiredMethod · 0.95
_confirmImportMethod · 0.95

Calls 1

Tested by

no test coverage detected