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

Class FilterMode

pygit2/enums.py:732–744  ·  view source on GitHub ↗

Filters are applied in one of two directions: smudging - which is exporting a file from the Git object database to the working directory, and cleaning - which is importing a file from the working directory to the Git object database. These values control which direction of chan

Source from the content-addressed store, hash-verified

730
731
732class FilterMode(IntEnum):
733 """
734 Filters are applied in one of two directions: smudging - which is
735 exporting a file from the Git object database to the working directory,
736 and cleaning - which is importing a file from the working directory to
737 the Git object database. These values control which direction of
738 change is being applied.
739 """
740
741 TO_WORKTREE = _pygit2.GIT_FILTER_TO_WORKTREE
742 SMUDGE = _pygit2.GIT_FILTER_SMUDGE
743 TO_ODB = _pygit2.GIT_FILTER_TO_ODB
744 CLEAN = _pygit2.GIT_FILTER_CLEAN
745
746
747class MergeAnalysis(IntFlag):

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…