MCPcopy
hub / github.com/borgbackup/borg / get_unmatched_include_patterns

Method get_unmatched_include_patterns

src/borg/patterns.py:127–131  ·  view source on GitHub ↗

Note that this only returns patterns added via *add_includepaths*, and it won't return PathFullPattern patterns, as we do not maintain match_count for them.

(self)

Source from the content-addressed store, hash-verified

125 self.include_patterns = include_patterns
126
127 def get_unmatched_include_patterns(self):
128 """Note that this only returns patterns added via *add_includepaths*, and it
129 won't return PathFullPattern patterns, as we do not maintain match_count for them.
130 """
131 return [p for p in self.include_patterns if p.match_count == 0 and not isinstance(p, PathFullPattern)]
132
133 def add_inclexcl(self, patterns):
134 """Add list of patterns (of type CmdTuple) to internal list."""

Callers 3

do_diffMethod · 0.80
do_extractMethod · 0.80
_export_tarMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected