This indexer is in charge of looking up the revision that acts as the “head” of an origin.
In git, this is usually the commit pointed to by the ‘master’ branch.
persist_index_computations(results: Any, policy_update: str) → Dict[str, int]¶
Do nothing. The indexer’s results are not persistent, they should only be piped to another indexer.
Index computation for the id and associated raw data.
id – identifier
data – id’s data from storage or objstorage depending on object type
a dict that makes sense for the
- Return type