Skip to main content

write_file_with_context

Function write_file_with_context 

Source
pub async fn write_file_with_context(
    path: &Path,
    content: &str,
    context: &str,
) -> Result<()>
Expand description

Write a file with contextual error message, ensuring parent directory exists