MCPcopy Create free account
hub / github.com/dailydotdev/apps / onUploadCommand

Function onUploadCommand

packages/shared/src/hooks/input/useMarkdownInput.ts:564–568  ·  view source on GitHub ↗
(files: FileList)

Source from the content-addressed store, hash-verified

562 };
563
564 const onUploadCommand = (files: FileList) => {
565 Array.from(files).forEach(verifyFile);
566
567 startUploading();
568 };
569
570 const onGifCommand = async (gifUrl: string, altText: string) => {
571 const textareaCommand = getCommand();

Callers 1

onUploadFunction · 0.85

Calls 1

startUploadingFunction · 0.85

Tested by

no test coverage detected