Skip to main content

start_object_reader_with

Function start_object_reader_with 

Source
pub fn start_object_reader_with(
    real_git: &Path,
    global_prefix: &[OsString],
    overlay: &[(OsString, OsString)],
    terms: WatchTerms,
) -> Result<ObjectReader, CandidateError>
Expand description

What: start_object_reader with the notice cadence, the bound and the notice sink of its requests chosen by the caller. Why: The production entry reads them from the environment; tests choose short ones and read the notices from a buffer.

In TS you’d write (pseudocode):

function startObjectReader(realGit, globalPrefix, overlay, terms): ObjectReader;