Struct stager::builder::SourceFiles [] [src]

pub struct SourceFiles {
    pub path: PathBuf,
    pub pattern: Vec<String>,
    pub follow_links: bool,
    pub allow_empty: bool,
    pub access: Vec<Access>,
}

Specifies a collection of files to be staged into the target directory.

Fields

Specifies the root path that pattern will be run on to identify files to be copied into the target directory.

Specifies the pattern for executing the recursive/multifile match.

pattern uses gitignore syntax.

Toggles whether no results for the pattern constitutes an error.

Generally, the default of false is best because it makes mistakes more obvious. An example of when no results are acceptable is a default staging configuration that implements a lot of default "good enough" policy.

Trait Implementations

impl Clone for SourceFiles
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SourceFiles
[src]

[src]

Formats the value using the given formatter. Read more

impl ActionBuilder for SourceFiles
[src]

[src]

Auto Trait Implementations

impl Send for SourceFiles

impl Sync for SourceFiles