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

Method createDir

src/plugins/sdcard/index.d.ts:87–87  ·  view source on GitHub ↗

* Creates new directory at given source url. * @param src Source url * @param dirName New directory name * @param onSuccess Callback function on success returns url of new directory * @param onFail callback function on error returns error object

(
    src: string,
    dirName: string,
    onSuccess: (url: string) => void,
    onFail: (err: any) => void,
  )

Source from the content-addressed store, hash-verified

85 * @param onFail callback function on error returns error object
86 */
87 createDir(
88 src: string,
89 dirName: string,
90 onSuccess: (url: string) => void,

Callers 5

createDirectoryFunction · 0.65
createDirFunction · 0.65
createDirectoryFunction · 0.65
createDirectoryFunction · 0.65
createDirectoryFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected