md5_file: Get a file MD5 checksum and output to paired *.md5 file

Description Usage Arguments Details Value

View source: R/md5_file.R

Description

Get a file MD5 checksum and output to paired *.md5 file

Usage

1
md5_file(pathname)

Arguments

pathname

File for which MD5 checksum should be produced

Details

If a paired ‘*.md5’ checksum file already exists and is newer than the source pathname file, then the checksum is read from the checksum file. In all other cases, a new MD5 checksum is calculated and a paired ‘*.md5’ file is written/updated.

Value

A MD5 checksum string validated to consist of 32 hexadecimal characters (if not, an error is produced).


HenrikBengtsson/ramani documentation built on March 27, 2021, 11:47 p.m.