module Merritt::Manifest::File

A marker interface for file-like objects. Each field may or may not be relevant to a given manifest format.

Attributes

file_last_modified[R]

@return [nil, DateTime] date and time the file was last modified.

Note that according to the [Merritt Ingest Service docs](https://confluence.ucop.edu/download/attachments/16744573/Merritt-ingest-service-latest.pdf),
“modification time field SHOULD NOT be specified, and will be ignored if provided.”
file_name[R]

@return [nil, String] the file name. If not present, will be inferred from

{#file_url}.
file_size[R]

@return [nil, Integer] the file size in bytes.

file_url[R]

@return [nil, URI] the URL at which to retrieve the file

hash_algorithm[R]

@return [nil, String] the hash algorithm used to hash the file

hash_value[R]

@return [nil, String] the hash value

mime_type[R]

@return [nil, MIME::Type] the mime type