Mark file within an in-progress packet. This will store the hash
of the file within the internal outpack structures and force an
error if the file is changed or deleted later. The function
outpack_packet_file_list()
will report on which files
are marked (or unmarked) within the directory.
outpack_packet_file_mark(packet, files, status)
outpack_packet_file_list(packet)
Optionally, an explicitly-passed packet; see
outpack_packet_start()
for details.
A character vector of relative paths
A status to mark the file with. Must be "immutable" or "ignored"
Depending on function
outpack_packet_file_mark
returns nothing
outpack_packet_file_list
returns a data.frame with columns
path
and status
(immutable
, ignored
or unknown
)