MCPcopy Create free account
hub / github.com/libgit2/pygit2 / exclude

Method exclude

setup.py:59–63  ·  view source on GitHub ↗
(line: str)

Source from the content-addressed store, hash-verified

57 sys.exit()
58
59 def exclude(line: str) -> bool:
60 for prefix in ['.', 'docs/', 'misc/']:
61 if line.startswith(prefix):
62 return True
63 return False
64
65 for line in stdoutdata.splitlines():
66 if not exclude(line):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected