"use strict";

// This is a generated file, modify: generate/templates/templates/enums.js

var NodeGit = require("../");
NodeGit.Enums = {};

NodeGit.Attr.STATES = {
  UNSPECIFIED_T: 0,
  TRUE_T: 1,
  FALSE_T: 2,
  VALUE_T: 3
};
NodeGit.Blame.FLAG = {
  NORMAL: 0,
  TRACK_COPIES_SAME_FILE: 1,
  TRACK_COPIES_SAME_COMMIT_MOVES: 2,
  TRACK_COPIES_SAME_COMMIT_COPIES: 4,
  TRACK_COPIES_ANY_COMMIT_COPIES: 8,
  FIRST_PARENT: 16
};
NodeGit.Branch.BRANCH = {
  LOCAL: 1,
  REMOTE: 2,
  ALL: 3
};
NodeGit.Cert.TYPE = {
  NONE: 0,
  X509: 1,
  HOSTKEY_LIBSSH2: 2,
  STRARRAY: 3
};
NodeGit.Cert.SSH = {
  MD5: 1,
  SHA1: 2
};
NodeGit.Checkout.NOTIFY = {
  NONE: 0,
  CONFLICT: 1,
  DIRTY: 2,
  UPDATED: 4,
  UNTRACKED: 8,
  IGNORED: 16,
  ALL: 65535
};
NodeGit.Checkout.STRATEGY = {
  NONE: 0,
  SAFE: 1,
  FORCE: 2,
  RECREATE_MISSING: 4,
  ALLOW_CONFLICTS: 16,
  REMOVE_UNTRACKED: 32,
  REMOVE_IGNORED: 64,
  UPDATE_ONLY: 128,
  DONT_UPDATE_INDEX: 256,
  NO_REFRESH: 512,
  SKIP_UNMERGED: 1024,
  USE_OURS: 2048,
  USE_THEIRS: 4096,
  DISABLE_PATHSPEC_MATCH: 8192,
  SKIP_LOCKED_DIRECTORIES: 262144,
  DONT_OVERWRITE_IGNORED: 524288,
  CONFLICT_STYLE_MERGE: 1048576,
  CONFLICT_STYLE_DIFF3: 2097152,
  DONT_REMOVE_EXISTING: 4194304,
  DONT_WRITE_INDEX: 8388608,
  UPDATE_SUBMODULES: 65536,
  UPDATE_SUBMODULES_IF_CHANGED: 131072
};
NodeGit.Clone.LOCAL = {
  AUTO: 0,
  LOCAL: 1,
  NO_LOCAL: 2,
  NO_LINKS: 3
};
NodeGit.Config.LEVEL = {
  PROGRAMDATA: 1,
  SYSTEM: 2,
  XDG: 3,
  GLOBAL: 4,
  LOCAL: 5,
  APP: 6,
  HIGHEST_LEVEL: -1
};
NodeGit.Cred.TYPE = {
  USERPASS_PLAINTEXT: 1,
  SSH_KEY: 2,
  SSH_CUSTOM: 4,
  DEFAULT: 8,
  SSH_INTERACTIVE: 16,
  USERNAME: 32,
  SSH_MEMORY: 64
};
NodeGit.Enums.CVAR = {
  FALSE: 0,
  TRUE: 1,
  INT32: 2,
  STRING: 3
};
NodeGit.Diff.DELTA = {
  UNMODIFIED: 0,
  ADDED: 1,
  DELETED: 2,
  MODIFIED: 3,
  RENAMED: 4,
  COPIED: 5,
  IGNORED: 6,
  UNTRACKED: 7,
  TYPECHANGE: 8,
  UNREADABLE: 9,
  CONFLICTED: 10
};
NodeGit.DiffBinary.DIFF_BINARY = {
  NONE: 0,
  LITERAL: 1,
  DELTA: 2
};
NodeGit.Diff.FIND = {
  BY_CONFIG: 0,
  RENAMES: 1,
  RENAMES_FROM_REWRITES: 2,
  COPIES: 4,
  COPIES_FROM_UNMODIFIED: 8,
  REWRITES: 16,
  BREAK_REWRITES: 32,
  AND_BREAK_REWRITES: 48,
  FOR_UNTRACKED: 64,
  ALL: 255,
  IGNORE_LEADING_WHITESPACE: 0,
  IGNORE_WHITESPACE: 4096,
  DONT_IGNORE_WHITESPACE: 8192,
  EXACT_MATCH_ONLY: 16384,
  BREAK_REWRITES_FOR_RENAMES_ONLY: 32768,
  REMOVE_UNMODIFIED: 65536
};
NodeGit.Diff.FLAG = {
  BINARY: 1,
  NOT_BINARY: 2,
  VALID_ID: 4,
  EXISTS: 8
};
NodeGit.Diff.FORMAT = {
  PATCH: 1,
  PATCH_HEADER: 2,
  RAW: 3,
  NAME_ONLY: 4,
  NAME_STATUS: 5
};
NodeGit.Diff.FORMAT_EMAIL_FLAGS = {
  FORMAT_EMAIL_NONE: 0,
  FORMAT_EMAIL_EXCLUDE_SUBJECT_PATCH_MARKER: 1
};
NodeGit.Diff.LINE = {
  CONTEXT: 32,
  ADDITION: 43,
  DELETION: 45,
  CONTEXT_EOFNL: 61,
  ADD_EOFNL: 62,
  DEL_EOFNL: 60,
  FILE_HDR: 70,
  HUNK_HDR: 72,
  BINARY: 66
};
NodeGit.Diff.OPTION = {
  NORMAL: 0,
  REVERSE: 1,
  INCLUDE_IGNORED: 2,
  RECURSE_IGNORED_DIRS: 4,
  INCLUDE_UNTRACKED: 8,
  RECURSE_UNTRACKED_DIRS: 16,
  INCLUDE_UNMODIFIED: 32,
  INCLUDE_TYPECHANGE: 64,
  INCLUDE_TYPECHANGE_TREES: 128,
  IGNORE_FILEMODE: 256,
  IGNORE_SUBMODULES: 512,
  IGNORE_CASE: 1024,
  INCLUDE_CASECHANGE: 2048,
  DISABLE_PATHSPEC_MATCH: 4096,
  SKIP_BINARY_CHECK: 8192,
  ENABLE_FAST_UNTRACKED_DIRS: 16384,
  UPDATE_INDEX: 32768,
  INCLUDE_UNREADABLE: 65536,
  INCLUDE_UNREADABLE_AS_UNTRACKED: 131072,
  FORCE_TEXT: 1048576,
  FORCE_BINARY: 2097152,
  IGNORE_WHITESPACE: 4194304,
  IGNORE_WHITESPACE_CHANGE: 8388608,
  IGNORE_WHITESPACE_EOL: 16777216,
  SHOW_UNTRACKED_CONTENT: 33554432,
  SHOW_UNMODIFIED: 67108864,
  PATIENCE: 268435456,
  MINIMAL: 536870912,
  SHOW_BINARY: 1073741824
};
NodeGit.Diff.STATS_FORMAT = {
  STATS_NONE: 0,
  STATS_FULL: 1,
  STATS_SHORT: 2,
  STATS_NUMBER: 4,
  STATS_INCLUDE_SUMMARY: 8
};
NodeGit.Enums.DIRECTION = {
  FETCH: 0,
  PUSH: 1
};
NodeGit.Error.ERROR = {
  GITERR_NONE: 0,
  GITERR_NOMEMORY: 1,
  GITERR_OS: 2,
  GITERR_INVALID: 3,
  GITERR_REFERENCE: 4,
  GITERR_ZLIB: 5,
  GITERR_REPOSITORY: 6,
  GITERR_CONFIG: 7,
  GITERR_REGEX: 8,
  GITERR_ODB: 9,
  GITERR_INDEX: 10,
  GITERR_OBJECT: 11,
  GITERR_NET: 12,
  GITERR_TAG: 13,
  GITERR_TREE: 14,
  GITERR_INDEXER: 15,
  GITERR_SSL: 16,
  GITERR_SUBMODULE: 17,
  GITERR_THREAD: 18,
  GITERR_STASH: 19,
  GITERR_CHECKOUT: 20,
  GITERR_FETCHHEAD: 21,
  GITERR_MERGE: 22,
  GITERR_SSH: 23,
  GITERR_FILTER: 24,
  GITERR_REVERT: 25,
  GITERR_CALLBACK: 26,
  GITERR_CHERRYPICK: 27,
  GITERR_DESCRIBE: 28,
  GITERR_REBASE: 29,
  GITERR_FILESYSTEM: 30,
  GITERR_PATCH: 31
};
NodeGit.Error.CODE = {
  OK: 0,
  ERROR: -1,
  ENOTFOUND: -3,
  EEXISTS: -4,
  EAMBIGUOUS: -5,
  EBUFS: -6,
  EUSER: -7,
  EBAREREPO: -8,
  EUNBORNBRANCH: -9,
  EUNMERGED: -10,
  ENONFASTFORWARD: -11,
  EINVALIDSPEC: -12,
  ECONFLICT: -13,
  ELOCKED: -14,
  EMODIFIED: -15,
  EAUTH: -16,
  ECERTIFICATE: -17,
  EAPPLIED: -18,
  EPEEL: -19,
  EEOF: -20,
  EINVALID: -21,
  EUNCOMMITTED: -22,
  EDIRECTORY: -23,
  EMERGECONFLICT: -24,
  PASSTHROUGH: -30,
  ITEROVER: -31
};
NodeGit.Enums.FEATURE = {
  THREADS: 1,
  HTTPS: 2,
  SSH: 4,
  NSEC: 8
};
NodeGit.Fetch.PRUNE = {
  GIT_FETCH_PRUNE_UNSPECIFIED: 0,
  GIT_FETCH_PRUNE: 1,
  GIT_FETCH_NO_PRUNE: 2
};
NodeGit.TreeEntry.FILEMODE = {
  UNREADABLE: 0,
  TREE: 16384,
  BLOB: 33188,
  EXECUTABLE: 33261,
  LINK: 40960,
  COMMIT: 57344
};
NodeGit.Filter.FLAG = {
  DEFAULT: 0,
  ALLOW_UNSAFE: 1
};
NodeGit.Filter.MODE = {
  TO_WORKTREE: 0,
  SMUDGE: 0,
  TO_ODB: 1,
  CLEAN: 1
};
NodeGit.Hashsig.OPTION = {
  NORMAL: 0,
  IGNORE_WHITESPACE: 1,
  SMART_WHITESPACE: 2,
  ALLOW_SMALL_FILES: 4
};
NodeGit.Enums.IDXENTRY_EXTENDED_FLAG = {
  IDXENTRY_INTENT_TO_ADD: 8192,
  IDXENTRY_SKIP_WORKTREE: 16384,
  IDXENTRY_EXTENDED2: 32768,
  S: 24576,
  IDXENTRY_UPDATE: 1,
  IDXENTRY_REMOVE: 2,
  IDXENTRY_UPTODATE: 4,
  IDXENTRY_ADDED: 8,
  IDXENTRY_HASHED: 16,
  IDXENTRY_UNHASHED: 32,
  IDXENTRY_WT_REMOVE: 64,
  IDXENTRY_CONFLICTED: 128,
  IDXENTRY_UNPACKED: 256,
  IDXENTRY_NEW_SKIP_WORKTREE: 512
};
NodeGit.Index.ADD_OPTION = {
  ADD_DEFAULT: 0,
  ADD_FORCE: 1,
  ADD_DISABLE_PATHSPEC_MATCH: 2,
  ADD_CHECK_PATHSPEC: 4
};
NodeGit.Index.CAP = {
  IGNORE_CASE: 1,
  NO_FILEMODE: 2,
  NO_SYMLINKS: 4,
  FROM_OWNER: -1
};
NodeGit.Enums.INDXENTRY_FLAG = {
  IDXENTRY_EXTENDED: 16384,
  IDXENTRY_VALID: 32768
};
NodeGit.Libgit2.OPT = {
  GET_MWINDOW_SIZE: 0,
  SET_MWINDOW_SIZE: 1,
  GET_MWINDOW_MAPPED_LIMIT: 2,
  SET_MWINDOW_MAPPED_LIMIT: 3,
  GET_SEARCH_PATH: 4,
  SET_SEARCH_PATH: 5,
  SET_CACHE_OBJECT_LIMIT: 6,
  SET_CACHE_MAX_SIZE: 7,
  ENABLE_CACHING: 8,
  GET_CACHED_MEMORY: 9,
  GET_TEMPLATE_PATH: 10,
  SET_TEMPLATE_PATH: 11,
  SET_SSL_CERT_LOCATIONS: 12,
  SET_USER_AGENT: 13,
  ENABLE_STRICT_OBJECT_CREATION: 14,
  ENABLE_STRICT_SYMBOLIC_REF_CREATION: 15,
  SET_SSL_CIPHERS: 16,
  GET_USER_AGENT: 17
};
NodeGit.Merge.ANALYSIS = {
  NONE: 0,
  NORMAL: 1,
  UP_TO_DATE: 2,
  FASTFORWARD: 4,
  UNBORN: 8
};
NodeGit.Merge.FILE_FAVOR = {
  NORMAL: 0,
  OURS: 1,
  THEIRS: 2,
  UNION: 3
};
NodeGit.Merge.FILE_FLAG = {
  FILE_DEFAULT: 0,
  FILE_STYLE_MERGE: 1,
  FILE_STYLE_DIFF3: 2,
  FILE_SIMPLIFY_ALNUM: 4,
  FILE_IGNORE_WHITESPACE: 8,
  FILE_IGNORE_WHITESPACE_CHANGE: 16,
  FILE_IGNORE_WHITESPACE_EOL: 32,
  FILE_DIFF_PATIENCE: 64,
  FILE_DIFF_MINIMAL: 128
};
NodeGit.Merge.FLAG = {
  FIND_RENAMES: 1,
  FAIL_ON_CONFLICT: 2,
  SKIP_REUC: 4,
  NO_RECURSIVE: 8
};
NodeGit.Merge.PREFERENCE = {
  NONE: 0,
  NO_FASTFORWARD: 1,
  FASTFORWARD_ONLY: 2
};
NodeGit.Odb.STREAM = {
  RDONLY: 2,
  WRONLY: 4,
  RW: 6
};
NodeGit.Object.TYPE = {
  ANY: -2,
  BAD: -1,
  EXT1: 0,
  COMMIT: 1,
  TREE: 2,
  BLOB: 3,
  TAG: 4,
  EXT2: 5,
  OFS_DELTA: 6,
  REF_DELTA: 7
};
NodeGit.Packbuilder.STAGE = {
  ADDING_OBJECTS: 0,
  DELTAFICATION: 1
};
NodeGit.Pathspec.FLAG = {
  DEFAULT: 0,
  IGNORE_CASE: 1,
  USE_CASE: 2,
  NO_GLOB: 4,
  NO_MATCH_ERROR: 8,
  FIND_FAILURES: 16,
  FAILURES_ONLY: 32
};
NodeGit.Proxy.PROXY = {
  NONE: 0,
  AUTO: 1,
  SPECIFIED: 2
};
NodeGit.RebaseOperation.REBASE_OPERATION = {
  PICK: 0,
  REWORD: 1,
  EDIT: 2,
  SQUASH: 3,
  FIXUP: 4,
  EXEC: 5
};
NodeGit.Reference.TYPE = {
  INVALID: 0,
  OID: 1,
  SYMBOLIC: 2,
  LISTALL: 3
};
NodeGit.Reference.NORMALIZE = {
  REF_FORMAT_NORMAL: 0,
  REF_FORMAT_ALLOW_ONELEVEL: 1,
  REF_FORMAT_REFSPEC_PATTERN: 2,
  REF_FORMAT_REFSPEC_SHORTHAND: 4
};
NodeGit.Remote.AUTOTAG_OPTION = {
  DOWNLOAD_TAGS_UNSPECIFIED: 0,
  DOWNLOAD_TAGS_AUTO: 1,
  DOWNLOAD_TAGS_NONE: 2,
  DOWNLOAD_TAGS_ALL: 3
};
NodeGit.Remote.COMPLETION_TYPE = {
  COMPLETION_DOWNLOAD: 0,
  COMPLETION_INDEXING: 1,
  COMPLETION_ERROR: 2
};
NodeGit.Repository.INIT_FLAG = {
  BARE: 1,
  NO_REINIT: 2,
  NO_DOTGIT_DIR: 4,
  MKDIR: 8,
  MKPATH: 16,
  EXTERNAL_TEMPLATE: 32,
  RELATIVE_GITLINK: 64
};
NodeGit.Repository.INIT_MODE = {
  INIT_SHARED_UMASK: 0,
  INIT_SHARED_GROUP: 1533,
  INIT_SHARED_ALL: 1535
};
NodeGit.Repository.OPEN_FLAG = {
  OPEN_NO_SEARCH: 1,
  OPEN_CROSS_FS: 2,
  OPEN_BARE: 4,
  OPEN_NO_DOTGIT: 8,
  OPEN_FROM_ENV: 16
};
NodeGit.Repository.STATE = {
  NONE: 0,
  MERGE: 1,
  REVERT: 2,
  REVERT_SEQUENCE: 3,
  CHERRYPICK: 4,
  CHERRYPICK_SEQUENCE: 5,
  BISECT: 6,
  REBASE: 7,
  REBASE_INTERACTIVE: 8,
  REBASE_MERGE: 9,
  APPLY_MAILBOX: 10,
  APPLY_MAILBOX_OR_REBASE: 11
};
NodeGit.Reset.TYPE = {
  SOFT: 1,
  MIXED: 2,
  HARD: 3
};
NodeGit.Revparse.MODE = {
  SINGLE: 1,
  RANGE: 2,
  MERGE_BASE: 4
};
NodeGit.Revwalk.SORT = {
  NONE: 0,
  TOPOLOGICAL: 1,
  TIME: 2,
  REVERSE: 4
};
NodeGit.Stash.APPLY_FLAGS = {
  APPLY_DEFAULT: 0,
  APPLY_REINSTATE_INDEX: 1
};
NodeGit.Stash.APPLY_PROGRESS = {
  NONE: 0,
  LOADING_STASH: 1,
  ANALYZE_INDEX: 2,
  ANALYZE_MODIFIED: 3,
  ANALYZE_UNTRACKED: 4,
  CHECKOUT_UNTRACKED: 5,
  CHECKOUT_MODIFIED: 6,
  DONE: 7
};
NodeGit.Stash.FLAGS = {
  DEFAULT: 0,
  KEEP_INDEX: 1,
  INCLUDE_UNTRACKED: 2,
  INCLUDE_IGNORED: 4
};
NodeGit.Status.STATUS = {
  CURRENT: 0,
  INDEX_NEW: 1,
  INDEX_MODIFIED: 2,
  INDEX_DELETED: 4,
  INDEX_RENAMED: 8,
  INDEX_TYPECHANGE: 16,
  WT_NEW: 128,
  WT_MODIFIED: 256,
  WT_DELETED: 512,
  WT_TYPECHANGE: 1024,
  WT_RENAMED: 2048,
  WT_UNREADABLE: 4096,
  IGNORED: 16384,
  CONFLICTED: 32768
};
NodeGit.Status.OPT = {
  INCLUDE_UNTRACKED: 1,
  INCLUDE_IGNORED: 2,
  INCLUDE_UNMODIFIED: 4,
  EXCLUDE_SUBMODULES: 8,
  RECURSE_UNTRACKED_DIRS: 16,
  DISABLE_PATHSPEC_MATCH: 32,
  RECURSE_IGNORED_DIRS: 64,
  RENAMES_HEAD_TO_INDEX: 128,
  RENAMES_INDEX_TO_WORKDIR: 256,
  SORT_CASE_SENSITIVELY: 512,
  SORT_CASE_INSENSITIVELY: 1024,
  RENAMES_FROM_REWRITES: 2048,
  NO_REFRESH: 4096,
  UPDATE_INDEX: 8192,
  INCLUDE_UNREADABLE: 16384,
  INCLUDE_UNREADABLE_AS_UNTRACKED: 32768
};
NodeGit.Status.SHOW = {
  INDEX_AND_WORKDIR: 0,
  INDEX_ONLY: 1,
  WORKDIR_ONLY: 2
};
NodeGit.Submodule.IGNORE = {
  UNSPECIFIED: -1,
  NONE: 1,
  UNTRACKED: 2,
  DIRTY: 3,
  ALL: 4
};
NodeGit.Submodule.RECURSE = {
  NO: 0,
  YES: 1,
  ONDEMAND: 2
};
NodeGit.Submodule.STATUS = {
  IN_HEAD: 1,
  IN_INDEX: 2,
  IN_CONFIG: 4,
  IN_WD: 8,
  INDEX_ADDED: 16,
  INDEX_DELETED: 32,
  INDEX_MODIFIED: 64,
  WD_UNINITIALIZED: 128,
  WD_ADDED: 256,
  WD_DELETED: 512,
  WD_MODIFIED: 1024,
  WD_INDEX_MODIFIED: 2048,
  WD_WD_MODIFIED: 4096,
  WD_UNTRACKED: 8192
};
NodeGit.Submodule.UPDATE = {
  CHECKOUT: 1,
  REBASE: 2,
  MERGE: 3,
  NONE: 4,
  DEFAULT: 0
};
NodeGit.Trace.LEVEL = {
  NONE: 0,
  FATAL: 1,
  ERROR: 2,
  WARN: 3,
  INFO: 4,
  DEBUG: 5,
  TRACE: 6
};
NodeGit.Transport.FLAGS = {
  NONE: 0
};
NodeGit.Tree.UPDATE = {
  UPSERT: 0,
  REMOVE: 1
};
NodeGit.Tree.WALK_MODE = {
  WALK_PRE: 0,
  WALK_POST: 1
};