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

Class FilterFlag

pygit2/enums.py:714–729  ·  view source on GitHub ↗

Filter option flags.

Source from the content-addressed store, hash-verified

712
713
714class FilterFlag(IntFlag):
715 """Filter option flags."""
716
717 DEFAULT = _pygit2.GIT_FILTER_DEFAULT
718
719 ALLOW_UNSAFE = _pygit2.GIT_FILTER_ALLOW_UNSAFE
720 "Don't error for `safecrlf` violations, allow them to continue."
721
722 NO_SYSTEM_ATTRIBUTES = _pygit2.GIT_FILTER_NO_SYSTEM_ATTRIBUTES
723 "Don't load `/etc/gitattributes` (or the system equivalent)"
724
725 ATTRIBUTES_FROM_HEAD = _pygit2.GIT_FILTER_ATTRIBUTES_FROM_HEAD
726 'Load attributes from `.gitattributes` in the root of HEAD'
727
728 ATTRIBUTES_FROM_COMMIT = _pygit2.GIT_FILTER_ATTRIBUTES_FROM_COMMIT
729 'Load attributes from `.gitattributes` in a given commit. This can only be specified in a `git_filter_options`.'
730
731
732class FilterMode(IntEnum):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…