Struct dagger_sdk::HostWorkdirOptsBuilder
source · pub struct HostWorkdirOptsBuilder<'a> { /* private fields */ }Expand description
Builder for HostWorkdirOpts.
Implementations§
source§impl<'a> HostWorkdirOptsBuilder<'a>
impl<'a> HostWorkdirOptsBuilder<'a>
sourcepub fn exclude<VALUE: Into<Vec<&'a str>>>(&mut self, value: VALUE) -> &mut Self
pub fn exclude<VALUE: Into<Vec<&'a str>>>(&mut self, value: VALUE) -> &mut Self
Exclude artifacts that match the given pattern (e.g., [“node_modules/”, “.git*”]).
sourcepub fn include<VALUE: Into<Vec<&'a str>>>(&mut self, value: VALUE) -> &mut Self
pub fn include<VALUE: Into<Vec<&'a str>>>(&mut self, value: VALUE) -> &mut Self
Include only artifacts that match the given pattern (e.g., [“app/”, “package.*”]).
sourcepub fn build(&self) -> Result<HostWorkdirOpts<'a>, HostWorkdirOptsBuilderError>
pub fn build(&self) -> Result<HostWorkdirOpts<'a>, HostWorkdirOptsBuilderError>
Trait Implementations§
source§impl<'a> Clone for HostWorkdirOptsBuilder<'a>
impl<'a> Clone for HostWorkdirOptsBuilder<'a>
source§fn clone(&self) -> HostWorkdirOptsBuilder<'a>
fn clone(&self) -> HostWorkdirOptsBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more