MCPcopy Index your code
hub / github.com/nwutils/nw-sample-apps / onChosenFileToOpen

Function onChosenFileToOpen

mini-code-edit/editor.js:77–80  ·  view source on GitHub ↗
(theFileEntry)

Source from the content-addressed store, hash-verified

75}
76
77var onChosenFileToOpen = function(theFileEntry) {
78 setFile(theFileEntry, false);
79 readFileIntoEditor(theFileEntry);
80};
81
82var onChosenFileToSave = function(theFileEntry) {
83 setFile(theFileEntry, true);

Callers 1

editor.jsFile · 0.85

Calls 2

setFileFunction · 0.85
readFileIntoEditorFunction · 0.85

Tested by

no test coverage detected