Skip to main content

read

Function read 

Source
pub fn read(from: &dyn Backing, at: Rev) -> Result<Document, RevFault>
Expand description

The document rev at holds, as the file holds it: no payloads. attached is what puts them back.

Rev 0 is the empty document and was never written.

ยงErrors

RevFault: nothing there, bytes that will not decompress, or bytes that are not a document this build reads.