73
75
class AddWithSkipLargeAction(AddAction):
74
76
"""A class that can decide to skip a file if it's considered too large"""
81
80
def skip_file(self, tree, path, kind, stat_value = None):
84
84
if self._maxSize is None:
90
90
file_size = os.path.getsize(path);