get_hash: Get file hash

Description Usage Arguments Value

Description

Returns the hash of the file. Different hashing algoritms can be used, with the default being md5sum. Underlying work is performed by the digest package.

Usage

1
get_hash(path, algo = "md5")

Arguments

path

The path to a file

algo

The hashing algorithm as a string. Default is "md5". See the digest package for allowable values.

Value

The file hash as a string


gmyrland/fduper documentation built on May 28, 2019, 8:53 p.m.