MCPcopy Create free account
hub / github.com/conaticus/FileExplorer / createDirectoryContent

Function createDirectoryContent

src/util.ts:7–9  ·  view source on GitHub ↗
(type: DirectoryContentType, name: string, path: string)

Source from the content-addressed store, hash-verified

5}
6
7export function createDirectoryContent(type: DirectoryContentType, name: string, path: string): DirectoryContent {
8 return {[type]: [name, path]};
9}

Callers 4

onNewFileFunction · 0.90
onNewFolderFunction · 0.90
onRenameFunction · 0.90
onDeleteFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected