class documentation

Provider for commit parent information.

Method __init__ Initialize ParentsProvider.
Method get_parents Get parents for a commit using the parents provider.
Instance Variable commit_graph Undocumented
Instance Variable grafts Undocumented
Instance Variable shallows Undocumented
Instance Variable store Undocumented
def __init__(self, store: BaseObjectStore, grafts: dict[ObjectID, list[ObjectID]] = {}, shallows: Iterable[ObjectID] = []):

Initialize ParentsProvider.

Parameters
store:BaseObjectStoreObject store to use
grafts:dict[ObjectID, list[ObjectID]]Graft information
shallows:Iterable[ObjectID]Shallow commit SHAs
def get_parents(self, commit_id: ObjectID, commit: Commit | None = None) -> list[ObjectID]:

Get parents for a commit using the parents provider.

commit_graph =

Undocumented

grafts =

Undocumented

shallows =

Undocumented

store =

Undocumented