entity_disk_read

Function entity_disk_read 

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

Read data from an entity’s virtual disk

§Arguments

  • entity_handle - Handle to the entity
  • path - Path within the virtual disk
  • is_public - Whether to read from public or private disk

§Returns

  • Result<Vec<u8>> - The file content