Skip to main content

read_document

Function read_document 

Source
pub fn read_document(
    db: &Db,
    grants: &dyn PathGrants,
    docs: &dyn DocumentBackend,
    path: &str,
) -> Result<RawDocument, WorkspaceError>
Expand description

Read a granted document, attach a stream token for binary formats and restore the stored view state.