Constructor
new ManifestEntry(opts)
Creates a new ManifestEntry
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
object |
Object containing properties to set. Properties
|
- Source:
Members
algorithm :string
The algorithm used to produce the checksums in this manifest. For example, 'md5', 'sha256', etc.
- Source:
digest :string
The digest/checksum of the file.
- Source:
jobId :string
The id (UUID) of the job that packaged the files in this manifest.
- Source:
origPath :string
The original path of the file, before it was bagged or otherwise packaged. This is usually an absolute path from the local filesystem or from an attached network share.
- Source:
pathInBag :string
The relative path of the file within the bag or package. For bagged files, this will begin with 'data/'.
- Source:
timestamp :string
The date and time this manifest was created, in ISO datetime format. If a job was run multiple times, it can have multiple manifests, each with its own timestamp. The timestamp value shows when the job finished packaging the files. The packaging process would have started before this timestamp, and if the job included an upload step, the job itself would have completed after this timestamp.
- Source:
Methods
validate() → {boolean}
validate returns true or false, indicating whether this object contains complete and valid data. If it returns false, check the errors property for specific errors.
- Source: