pub fn append_file_within(
root: &Path,
path: &Path,
content: &[u8],
mode: u32,
) -> Result<(), Error>Expand description
Appends bytes to a regular file below an explicit capability root.
§Parameters
root: Input consumed bycrate::fs::append_file_within.path: Input consumed bycrate::fs::append_file_within.content: Input consumed bycrate::fs::append_file_within.mode: Input consumed bycrate::fs::append_file_within.
§Returns
Returns the computed value produced by crate::fs::append_file_within.
§Examples
ⓘ
let _result = pharos_runtime_core::fs::append_file_within(std::path::Path::new("."), std::path::Path::new("fixture.json"), todo!(), 0o640);§Related
crate::fsfor adjacent helpers that share the same runtime surface.