pub fn write_file(
directory: &str,
file_name: &str,
bytes: &[u8],
) -> Result<SavedFile, String>Available on crate feature
mcp and non-WebAssembly only.Expand description
Write bytes to directory/file_name, creating the directory.