Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/hokein/electron-sample-apps
/ newFile
Function
newFile
mini-code-editor/editor.js:35–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
}
34
35
function
newFile() {
36
fileEntry = null;
37
hasWriteAccess = false;
38
handleDocumentChange(null);
39
}
40
41
function
setFile(theFileEntry, isWritable) {
42
fileEntry = theFileEntry;
Callers
2
handleNewButton
Function · 0.85
editor.js
File · 0.85
Calls
1
handleDocumentChange
Function · 0.85
Tested by
no test coverage detected