Struct cache_buster::processor::BusterBuilder [−][src]
pub struct BusterBuilder<'a> { /* fields omitted */ }
Builder for Buster
.
Implementations
impl<'a> BusterBuilder<'a>
[src]
impl<'a> BusterBuilder<'a>
[src]pub fn source<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
source directory
pub fn mime_types(&mut self, value: Vec<Mime>) -> &mut Self
[src]
mime_types for hashing
pub fn result<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
directory for writing results
pub fn prefix<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
route prefixes
pub fn copy(&mut self, value: bool) -> &mut Self
[src]
copy other non-hashed files from source dire to result dir?
pub fn follow_links(&mut self, value: bool) -> &mut Self
[src]
follow symlinks?
pub fn no_hash(&mut self, value: Vec<&'a str>) -> &mut Self
[src]
exclude these files for hashing. They will be copied over without including a hash in the filename Path should be relative to [self.source]
pub fn build(&self) -> Result<Buster<'a>, BusterBuilderError>
[src]
Trait Implementations
impl<'a> Clone for BusterBuilder<'a>
[src]
impl<'a> Clone for BusterBuilder<'a>
[src]fn clone(&self) -> BusterBuilder<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Default for BusterBuilder<'a>
[src]
impl<'a> Default for BusterBuilder<'a>
[src]