Skip to main content

index_tree

Function index_tree 

Source
pub fn index_tree(
    db: &Path,
    repo: &str,
    repo_dir: &Path,
    rev: &str,
) -> Result<IndexStats, Error>
Expand description

Indexes repo (a stable name such as github.com/owner/name) at rev of the git checkout repo_dir into the store at db. Indexing the same revision again only refreshes its tree.