Skip to main content

ArtifactWriter

Trait ArtifactWriter 

Source
pub trait ArtifactWriter {
    // Required methods
    fn write_file(&self, path: &Utf8Path, contents: &[u8]) -> Result<()>;
    fn create_dir_all(&self, path: &Utf8Path) -> Result<()>;
}
Expand description

Filesystem-facing abstraction for artifact emission.

Required Methods§

Source

fn write_file(&self, path: &Utf8Path, contents: &[u8]) -> Result<()>

Source

fn create_dir_all(&self, path: &Utf8Path) -> Result<()>

Implementors§