quickhash: Compute a (quick) hash for some part of the contents of a set...

Description Usage Arguments Value See Also

View source: R/quickhash.R

Description

Default is to compute md5 hash for whole of each file. negative offsets => seek to offset position wrt end of file chunksize=Inf => whole file. Uses digest() which defaults to algo="md5"

Usage

1
quickhash(f, offsets = 0, chunksizes = Inf, CheckFileSize = TRUE, ...)

Arguments

f

Path to files to hash

offsets

integer offsets into file at which to read data

chunksizes

amount of data to read at each offset

CheckFileSize

see if the file has enough data to match the requirements defined by offsets and chunksizes and compute a digest of the entire file when there is insufficient data. The default value of TRUE is strongly recommended.

...

Additional arguments passed to the digest function.

Value

character vector containing hash values for file(s)

See Also

digest, quickhash.lsm


jefferislab/jimpipeline documentation built on Sept. 14, 2020, 3:41 p.m.