Struct buildchain::Manifest [] [src]

pub struct Manifest {
    pub time: u64,
    pub files: BTreeMap<String, Sha384>,
}

A manifest of build artifacts

Fields

The timestamp of the source control revision

A dictionary of filenames and their hashes

Methods

impl Manifest
[src]

Create a new Manifest by reading the provided build directory

Arguments

  • time - the timestamp of the source control revision that was built
  • path - the directory containing the build artifacts

Return

The Manifest of the provided build data

Errors

Errors that are encountered while reading will be returned

Example

use buildchain::Manifest;

let manifest = Manifest::new(1500000000, "tests/res/artifacts").unwrap();

Trait Implementations

impl Clone for Manifest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Manifest
[src]

Formats the value using the given formatter.

impl Eq for Manifest
[src]

impl PartialEq for Manifest
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.