[−][src]Struct memora::cache::Artifact
A build artifact.
Fields
inputs: Vec<PathBuf>
Paths of the Artifact inputs, relative to the root of a repository. Each path may be a file or a directory. Each input must be checked into the Git repository.
Inputs are the paths your build flow uses to generate the outputs of an artifact (e.g., source code, Makefiles, configuration files). The list of inputs must be complete; that is, when none of the inputs changes between two Git objects, the entire Artifact is considered identical for those two objects. Any one input may be used in more than one Artifact.
If the Artifact is part of a Manifest file loaded with the
from_path
function, the Manifest file
is an implicit input dependency of the Artifact.
If the Artifact is a Pattern Artifact, each path may
contain up to one %
.
outputs: Vec<PathBuf>
Paths of the Artifact outputs, relative to the root of a repository. Each path may be a file or a directory.
Outputs are the paths your build flow creates or modifies when it generates an artifact (e.g., executables, shared object files). The list of outputs must contain all files required to "use" the artifact but can (and in most cases should) omit intermediate build products.
Trait Implementations
impl Clone for Artifact
[src]
impl Debug for Artifact
[src]
impl<'de> Deserialize<'de> for Artifact
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnwindSafe for Artifact
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,