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
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)
Does the same as the sysPath function
Turns an object into a wrappedObj. Essentially this just adds functions to make it easier to save.
Static tmpdirGenerated using TypeDoc
Returns true if the file matches what is expected.