pygit2
  • Installation
  • Recipes
  • General
  • Backends
  • Blame
  • Branches
  • Callbacks
  • Commit log
  • Configuration files
  • Diff
  • Enums
    • Repository
    • References and branches
    • Objects
    • Diff
    • Status
    • Checkout
    • Merge
    • Blame
    • Filters
    • Attributes
    • Remotes
    • Submodules
    • Stash
    • Revwalk
    • Apply
    • Library
  • Feature detection
  • Filters
  • Index file & Working copy
  • Mailmap
  • Merge & Cherrypick
  • Objects
  • Object IDs
  • Packing
  • References
  • Reference Transactions
  • Remotes
  • Repository
  • Revision parsing
  • Settings
  • Submodules
  • Worktrees
  • The development version
pygit2
  • Enums
  • View page source

Enums

pygit2 exposes libgit2 constants as Python enums in the pygit2.enums module. They are preferred over the top-level GIT_* integer constants.

Contents

  • Repository

  • References and branches

  • Objects

  • Diff

  • Status

  • Checkout

  • Merge

  • Blame

  • Filters

  • Attributes

  • Remotes

  • Submodules

  • Stash

  • Revwalk

  • Apply

  • Library

Repository

References and branches

Objects

Diff

Status

Checkout

Merge

Blame

Filters

Attributes

Remotes

Submodules

Stash

Revwalk

Apply

Library

Previous Next

© Copyright 2010-2025 The pygit2 contributors.

Built with Sphinx using a theme provided by Read the Docs.