b.g.AbstractSearchResult(object) : class documentation

Part of bzrlib.graph View In Hierarchy

Known subclasses: bzrlib.graph.EmptySearchResult, bzrlib.graph.EverythingResult, bzrlib.graph.PendingAncestryResult, bzrlib.graph.SearchResult

The result of a search, describing a set of keys.

Search results are typically used as the 'fetch_spec' parameter when fetching revisions.

See AlsoAbstractSearch
Method get_recipe Return a recipe that can be used to replay this search.
Method get_network_struct Return a tuple that can be transmitted via the HPSS protocol.
Method get_keys Return the keys found in this search.
Method is_empty Return false if the search lists 1 or more revisions.
Method refine Create a new search by refining this search.
def get_recipe(self):
Return a recipe that can be used to replay this search.

The recipe allows reconstruction of the same results at a later date.

ReturnsA tuple of (search_kind_str, *details). The details vary by kind of search result.
def get_network_struct(self):
Return a tuple that can be transmitted via the HPSS protocol.
def get_keys(self):
Return the keys found in this search.
ReturnsA set of keys.
def is_empty(self):
Return false if the search lists 1 or more revisions.
def refine(self, seen, referenced):
Create a new search by refining this search.
ParametersseenRevisions that have been satisfied.
referencedRevision references observed while satisfying some of this search.
ReturnsA search result.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.