Fingerprints each supplied file, size, modification time and MD5, and
optionally writes the result as JSON. Pair it with hf_verify_manifest() to
confirm a later run is reading the same inputs.
Hashing streams the whole file, so a multi-gigabyte reference takes a little time. It is worth it once per build rather than per VPU.
Examples
f <- tempfile(); writeLines("x", f)
hf_input_manifest(reference = f)
#> role path exists bytes mtime
#> 1 reference /tmp/RtmpXwoem0/file1fed4dd6525a TRUE 2 2026-11-12T13:14:57Z
#> md5
#> 1 401b30e3b8b5d629635a5c613cdb7919