MCPcopy Create free account
hub / github.com/ShouChenICU/FastSend / dealFilesFormFile

Function dealFilesFormFile

app/utils/files.ts:58–67  ·  view source on GitHub ↗
(file: File)

Source from the content-addressed store, hash-verified

56 * @returns
57 */
58export function dealFilesFormFile(file: File) {
59 return {
60 [file.name]: {
61 paths: [file.name],
62 size: file.size,
63 lastModified: file.lastModified,
64 file: file
65 }
66 }
67}
68
69/**
70 * 选择目录

Callers 2

sendFileFunction · 0.85
handleDropFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected