Skip to main content

read_file

Function read_file 

Source
pub async fn read_file(
    r: Remote<'_>,
    path: &str,
) -> Result<(Vec<u8>, bool), String>
Expand description

The editor reading a file on a host: its bytes (at most EDITOR_MAX), and whether nobody may write it.