MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / selectFolder

Function selectFolder

src/lib/saveFile.js:164–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162 }
163
164 async function selectFolder() {
165 const dir = await FileBrowser(
166 "folder",
167 strings[`save file${isSaveAs ? " as" : ""}`],
168 );
169 return dir.url;
170 }
171
172 async function getfilename(url, name) {
173 let filename = await prompt(

Callers 1

saveFileFunction · 0.85

Calls 1

FileBrowserFunction · 0.85

Tested by

no test coverage detected