Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.66 KB

README.md

File metadata and controls

24 lines (20 loc) · 1.66 KB

@filego/js

Type Aliases

Type alias Description
CheckFunctionOptions Options for the custom check function in the check function.
CheckOptions Options for the check function.
CheckResult Result of the check function.
FileChunk FileChunk contains the blob data from the file splitted, and the index of the blob data.
MergeFunctionOptions Options for the custom merge function in the merge function.
MergeOptions Options for the merge function.
MergeResult Result of the merge function.
SplitFunctionOptions Options for the custom split function in the split function.
SplitOptions Options for the split function.
SplitResult Result of the split function.

Functions

Function Description
check This function checks file integrity by verifying the chunks with fileSize and totalChunks parameters. It will return the status and the error of the check.
merge This function merges the chunks by using the chunks parameters. It will return the blob of the merged file.
split This function splits file into chunks, and the chunks can be used to check and merge later. It will return the chunks, fileSize and totalChunks.