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

Class FetchPrune

pygit2/enums.py:660–671  ·  view source on GitHub ↗

Acceptable prune settings when fetching.

Source from the content-addressed store, hash-verified

658
659
660class FetchPrune(IntEnum):
661 """Acceptable prune settings when fetching."""
662
663 UNSPECIFIED = C.GIT_FETCH_PRUNE_UNSPECIFIED
664 'Use the setting from the configuration'
665
666 PRUNE = C.GIT_FETCH_PRUNE
667 """Force pruning on: remove any remote branch in the local repository
668 that does not exist in the remote."""
669
670 NO_PRUNE = C.GIT_FETCH_NO_PRUNE
671 """Force pruning off: always keep the remote branches."""
672
673
674class FileMode(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…