Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.46 KB

README.md

File metadata and controls

22 lines (18 loc) · 1.46 KB

@filego/node

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.
MergeFunctionOptions Options for the custom merge function in the merge function.
MergeOptions Options for 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 specified in the inDir with fileSize, totalChunks parameters. It will return the status and the error of the check.
merge This function merges the chunks from a directory to a specified path directly. Therefore, nothing will be returned as a result.
split This function splits file from a path to a directory directly. It will only return the fileSize and the totalChunks of the file.