MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getRawEditorState

Function getRawEditorState

src/lib/editorManager.js:1324–1326  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

1322 }
1323
1324 function getRawEditorState(state) {
1325 return state?.__rawState || state || null;
1326 }
1327
1328 function isReusableEditorState(file, signature) {
1329 const session = getRawEditorState(file?.session);

Callers 3

isReusableEditorStateFunction · 0.85
applyFileToEditorFunction · 0.85
switchFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected