Skip to contents

Create a combined SHA-1 hash based on the contents and sizes of files in a specified directory. System-specific metadata (e.g. full file paths, access times, or user information) are not tracked, ensuring the hash remains consistent across different systems, users, and access times.

Usage

download_hash(hash = TRUE, dir = NULL)

Arguments

hash

logical(1). Create hash of downloaded files.

dir

character(1). Directory path.

Value

character(1) Combined SHA-1 hash of the files' contents and sizes.