b.a.AddWithSkipLargeAction(AddAction) : class documentation

Part of bzrlib.add View In Hierarchy

A class that can decide to skip a file if it's considered too large
Method skip_file Test whether the given file should be skipped or not.

Inherited from AddAction:

Method __init__ Initialize an action which prints added files to an output stream.
Method __call__ Add path to inventory.
def skip_file(self, tree, path, kind, stat_value=None):
Test whether the given file should be skipped or not.

The default action never skips. Note this is only called during
recursive adds

:param tree: The tree we are working in
:param path: The path being added
:param kind: The kind of object being added.
:param stat: Stat result for this file, if available already
:return bool. True if the file should be skipped (not added)
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.