Copies this file or directory to a set location
Downloads a set file using fetch internally
The url of the file you want to download
Optional
chk: { The file check
Optional
sha1?: string | string[]Optional
size?: numberOptional
opt: { Optional
noOptional
onOptional
signal?: AbortSignalthis object to allow for chaining
Similar to unzip, but uses a whitelist approach
Loads a json object from the file system and adds some shortcut functions to make it easier to save.
Checks if an expected hash matches with this object. (@see getHash)
Checks if the size value given matches with this object. (@see getSize)
Optional
key: stringOptional
chk: { Optional
sha1?: string | string[]Optional
size?: numberOptional
opt: { Does the same as the sysPath function
Similar to extract, but uses a blacklist approach
Turns an object into a wrappedObj. Essentially this just adds functions to make it easier to save.
Static
check0 Full redownload 1 unzip only 2 fine
Static
processStatic
tmpdirGenerated using TypeDoc
Returns true if the file is in missmatch.