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

Function load_exclude_file

src/borg/patterns.py:34–36  ·  view source on GitHub ↗
(fileobj, patterns)

Source from the content-addressed store, hash-verified

32
33
34def load_exclude_file(fileobj, patterns):
35 for patternstr in clean_lines(fileobj):
36 patterns.append(parse_exclude_pattern(patternstr))
37
38
39class ArgparsePatternAction(Action):

Callers 2

parseMethod · 0.85
evaluateFunction · 0.85

Calls 2

clean_linesFunction · 0.85
parse_exclude_patternFunction · 0.85

Tested by 1

evaluateFunction · 0.68