pub struct ContentOperations;Expand description
Functions for working with file content in buildah containers
Implementations§
Source§impl ContentOperations
impl ContentOperations
Sourcepub fn write_content(
container_id: &str,
content: &str,
dest_path: &str,
) -> Result<CommandResult, BuildahError>
pub fn write_content( container_id: &str, content: &str, dest_path: &str, ) -> Result<CommandResult, BuildahError>
Sourcepub fn read_content(
container_id: &str,
source_path: &str,
) -> Result<String, BuildahError>
pub fn read_content( container_id: &str, source_path: &str, ) -> Result<String, BuildahError>
Auto Trait Implementations§
impl Freeze for ContentOperations
impl RefUnwindSafe for ContentOperations
impl Send for ContentOperations
impl Sync for ContentOperations
impl Unpin for ContentOperations
impl UnsafeUnpin for ContentOperations
impl UnwindSafe for ContentOperations
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more