entity_disk_write

Function entity_disk_write 

Source
pub async fn entity_disk_write(
    entity_handle: &EntityHandle,
    path: &str,
    content: Vec<u8>,
    is_public: bool,
) -> Result<()>
Expand description

Write data to an entity’s virtual disk

§Arguments

  • entity_handle - Handle to the entity
  • path - Path within the virtual disk
  • content - Data to write
  • is_public - Whether to write to public or private disk

§Returns

  • Result<()> - Success or error