MCPcopy Create free account
hub / github.com/hokein/electron-sample-apps / onChosenFileToOpen

Function onChosenFileToOpen

mini-code-editor/editor.js:70–74  ·  view source on GitHub ↗
(theFileEntry)

Source from the content-addressed store, hash-verified

68}
69
70var onChosenFileToOpen = function(theFileEntry) {
71 console.log(theFileEntry);
72 setFile(theFileEntry, false);
73 readFileIntoEditor(theFileEntry);
74};
75
76var onChosenFileToSave = function(theFileEntry) {
77 setFile(theFileEntry, true);

Callers 1

handleOpenButtonFunction · 0.85

Calls 2

setFileFunction · 0.85
readFileIntoEditorFunction · 0.85

Tested by

no test coverage detected