Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nwutils/nw-sample-apps
/ newFile
Function
newFile
mini-code-edit/editor.js:42–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
}
41
42
function
newFile() {
43
fileEntry = null;
44
hasWriteAccess = false;
45
handleDocumentChange(null);
46
}
47
48
function
setFile(theFileEntry, isWritable) {
49
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