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

Function pushUpload

packages/shared/src/hooks/input/useSyncUploader.ts:60–62  ·  view source on GitHub ↗
(file: File)

Source from the content-addressed store, hash-verified

58 };
59
60 const pushUpload = (file: File) => {
61 filesRef.current.push(file);
62 };
63
64 return { queueCount, uploadedCount, pushUpload, startUploading };
65};

Callers 2

useImageUploadFunction · 0.85
verifyFileFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected