b.f.ContentFilterContext(object) : class documentation

Part of bzrlib.filters View In Hierarchy

Object providing information that filters can use.
Method __init__ Create a context.
Method relpath Relative path of file to tree-root.
Method source_tree Source Tree object.
Method file_id File-id of file.
Method revision_id Id of revision that last changed this file.
Method revision Revision this variation of the file was introduced in.
Method config The Config object to search for configuration settings.
def __init__(self, relpath=None, tree=None, entry=None):
Create a context.
Parametersrelpaththe relative path or None if this context doesn't support that information.
treethe Tree providing this file or None if this context doesn't support that information.
entrythe InventoryEntry object if it is already known or None if it should be derived if possible
def relpath(self):
Relative path of file to tree-root.
def source_tree(self):
Source Tree object.
def file_id(self):
File-id of file.
def revision_id(self):
Id of revision that last changed this file.
def revision(self):
Revision this variation of the file was introduced in.
def config(self):
The Config object to search for configuration settings.
API Documentation for Bazaar, generated by pydoctor at 2020-08-04 00:50:18.