pub fn read_logical_file_bytes(
vfs: &mut Vfs,
vm_session: &mut SessionHolder,
path: &str,
) -> Result<Vec<u8>, WorkspaceReadError>Expand description
Read file bytes for a logical path: guest-primary (γ or β) first, else in-memory Vfs.
§Errors
Returns WorkspaceReadError when guest/VFS reads fail or the path is outside workspace.