MCPcopy
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
42function newFile() {
43 fileEntry = null;
44 hasWriteAccess = false;
45 handleDocumentChange(null);
46}
47
48function setFile(theFileEntry, isWritable) {
49 fileEntry = theFileEntry;

Callers 2

handleNewButtonFunction · 0.85
editor.jsFile · 0.85

Calls 1

handleDocumentChangeFunction · 0.85

Tested by

no test coverage detected