Skip to main content

write_file

AsyncMethod
This is a method of the SandboxProtocol class in the sandbox module.
Write a file to the sandbox.

Signature

async def write_file(&self, path: &str, content: &[u8]) -> Result<bool>

Parameters

path
&str
required
No description available.
content
&
required
No description available.

Returns

Returns
Result<bool>
The result of the operation.