Skip to main content

relations

Function relations 

Source
pub fn relations(
    db: &Path,
    repo: &str,
    repo_dir: &Path,
    rev: &str,
    kinds: &[Kind],
    scope: &[String],
) -> Result<Relations, Error>
Expand description

The relations of kinds (all when empty) among the files under scope of repo at rev of the git checkout repo_dir: the revision is indexed first (only blobs the store has not seen are read), the proposer reads only blobs it has not read at RELATIONS_VERSION, and the result is pruned for the task. Verdicts the judge gave earlier come back with their relations.