| layout | default | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| menu_item | api | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| title | API Docs | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description | Version 0.21.1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| sections |
|
| Instance Methods | |
|---|---|
| AnnotatedCommit#free () | Sync |
| AnnotatedCommit#id () | Sync |
| Class Methods | |
|---|---|
| Attr.addMacro (repo, name, values) | Sync |
| Attr.cacheFlush (repo) | Sync |
| Attr.get (repo, flags, path, name) | Async |
| Attr.getMany (repo, flags, path, num_attr, names) | Sync |
| Attr.value (attr) | Sync |
| ENUMS | |
|---|---|
| Attr.STATES |
| Class Methods | |
|---|---|
| Blame.file (repo, path, [options]) | Async |
| Blame.initOptions (opts, version) | Sync |
| Instance Methods | |
|---|---|
| Blame#buffer (buffer, buffer_len) | Async |
| Blame#free () | Sync |
| Blame#getHunkByIndex (index) | Sync |
| Blame#getHunkByLine (lineno) | Sync |
| Blame#getHunkCount () | Sync |
| ENUMS | |
|---|---|
| Blame.FLAG |
| Instance Variables | |
|---|---|
| BlameOptions#flags | |
| BlameOptions#maxLine | |
| BlameOptions#minLine | |
| BlameOptions#minMatchCharacters | |
| BlameOptions#newestCommit | |
| BlameOptions#oldestCommit | |
| BlameOptions#version |
| Instance Methods | |
|---|---|
| Blob#content () | Sync |
| Blob#dup () | Async |
| Blob#filemode () | Sync |
| Blob#free () | Sync |
| Blob#id () | Sync |
| Blob#isBinary () | Sync |
| Blob#owner () | Sync |
| Blob#rawcontent () | Sync |
| Blob#rawsize () | Sync |
| Blob#toString () | Sync |
| ENUMS | |
|---|---|
| Branch.BRANCH |
| Instance Methods | |
|---|---|
| Buf#containsNul () | SyncExperimental |
| Buf#free () | SyncExperimental |
| Buf#grow (target_size) | AsyncExperimental |
| Buf#isBinary () | SyncExperimental |
| Buf#set (data, datalen) | AsyncExperimental |
| Instance Variables | |
|---|---|
| Buf#asize | |
| Buf#ptr | |
| Buf#size |
| ENUMS | |
|---|---|
| Cert.SSH | |
| Cert.TYPE |
| Instance Variables | |
|---|---|
| Cert#certType |
| Instance Variables | |
|---|---|
| CertHostkey#hashMd5 | |
| CertHostkey#hashSha1 | |
| CertHostkey#parent | |
| CertHostkey#type |
| Instance Variables | |
|---|---|
| CertX509#data | |
| CertX509#len | |
| CertX509#parent |
| Class Methods | |
|---|---|
| Checkout.head (repo, [options]) | Async |
| Checkout.index (repo, index, [options]) | Async |
| Checkout.initOptions (opts, version) | Sync |
| Checkout.tree (repo, treeish, [options]) | Async |
| ENUMS | |
|---|---|
| Checkout.NOTIFY | |
| Checkout.STRATEGY |
| Instance Variables | |
|---|---|
| CherrypickOptions#checkoutOpts | |
| CherrypickOptions#mainline | |
| CherrypickOptions#mergeOpts | |
| CherrypickOptions#version |
| Class Methods | |
|---|---|
| Clone.clone (url, local_path, [options]) | Async |
| Clone.initOptions (opts, version) | Sync |
| ENUMS | |
|---|---|
| Clone.LOCAL |
| Instance Methods | |
|---|---|
| Commit#amend (update_ref, author, committer, message_encoding, message, tree, callback) | Async |
| Commit#author () | Sync |
| Commit#body () | Sync |
| Commit#committer () | Sync |
| Commit#date () | Sync |
| Commit#dup () | Async |
| Commit#free () | Sync |
| Commit#getDiff (callback) | Async |
| Commit#getDiffWithOptions (options, callback) | Async |
| Commit#getEntry (path) | Async |
| Commit#getParents (limit, callback) | Async |
| Commit#getTree () | Async |
| Commit#headerField (field) | Async |
| Commit#history () | Sync |
| Commit#id () | Sync |
| Commit#message () | Sync |
| Commit#messageEncoding () | Sync |
| Commit#messageRaw () | Sync |
| Commit#nthGenAncestor (n) | Async |
| Commit#owner () | Sync |
| Commit#parent (n) | Async |
| Commit#parentId (n) | Sync |
| Commit#parentcount () | Sync |
| Commit#parents () | Sync |
| Commit#rawHeader () | Sync |
| Commit#sha () | Sync |
| Commit#summary () | Sync |
| Commit#time () | Sync |
| Commit#timeMs () | Sync |
| Commit#timeOffset () | Sync |
| Commit#toString () | Sync |
| Commit#tree (tree_out) | Sync |
| Commit#treeId () | Sync |
| Class Methods | |
|---|---|
| Config.findProgramdata () | Async |
| Config.openDefault () | Async |
| Instance Methods | |
|---|---|
| Config#getStringBuf (name) | Async |
| Config#lock (tx) | Sync |
| Config#setInt64 (name, value) | Sync |
| Config#setMultivar (name, regexp, value) | Sync |
| Config#setString (name, value) | Async |
| Config#snapshot () | Async |
| ENUMS | |
|---|---|
| Config.LEVEL |
| Instance Variables | |
|---|---|
| ConfigEntry#free | |
| ConfigEntry#level | |
| ConfigEntry#name | |
| ConfigEntry#payload | |
| ConfigEntry#value |
| Instance Methods | |
|---|---|
| ConvenientPatch#hunks () | Async |
| ConvenientPatch#isAdded () | Sync |
| ConvenientPatch#isConflicted () | Sync |
| ConvenientPatch#isCopied () | Sync |
| ConvenientPatch#isDeleted () | Sync |
| ConvenientPatch#isIgnored () | Sync |
| ConvenientPatch#isModified () | Sync |
| ConvenientPatch#isRenamed () | Sync |
| ConvenientPatch#isTypeChange () | Sync |
| ConvenientPatch#isUnmodified () | Sync |
| ConvenientPatch#isUnreadable () | Sync |
| ConvenientPatch#isUntracked () | Sync |
| ConvenientPatch#lineStats () | Sync |
| ConvenientPatch#newFile () | Sync |
| ConvenientPatch#oldFile () | Sync |
| ConvenientPatch#size () | Sync |
| ConvenientPatch#status () | Sync |
| Instance Methods | |
|---|---|
| Cred#free () | Sync |
| Cred#hasUsername () | Sync |
| ENUMS | |
|---|---|
| Cred.TYPE |
| Instance Variables | |
|---|---|
| CredUsername#parent | |
| CredUsername#username |
| Instance Variables | |
|---|---|
| CredUserpassPayload#password | |
| CredUserpassPayload#username |
| Instance Variables | |
|---|---|
| CvarMap#cvarType | |
| CvarMap#mapValue | |
| CvarMap#strMatch |
| Instance Variables | |
|---|---|
| DescribeFormatOptions#abbreviatedSize | |
| DescribeFormatOptions#alwaysUseLongFormat | |
| DescribeFormatOptions#dirtySuffix | |
| DescribeFormatOptions#version |
| Instance Methods | |
|---|---|
| Diff#findSimilar (options) | Async |
| Diff#getDelta (idx) | Sync |
| Diff#getPerfdata () | Async |
| Diff#merge (from) | Async |
| Diff#numDeltas () | Sync |
| Diff#patches () | Async |
| Diff#toBuf (format) | Async |
| ENUMS | |
|---|---|
| Diff.DELTA | |
| Diff.FIND | |
| Diff.FLAG | |
| Diff.FORMAT | |
| Diff.FORMAT_EMAIL_FLAGS | |
| Diff.LINE | |
| Diff.OPTION | |
| Diff.STATS_FORMAT |
| ENUMS | |
|---|---|
| DiffBinary.DIFF_BINARY |
| Instance Variables | |
|---|---|
| DiffBinary#containsData | |
| DiffBinary#newFile | |
| DiffBinary#oldFile |
| Instance Variables | |
|---|---|
| DiffBinaryFile#data | |
| DiffBinaryFile#datalen | |
| DiffBinaryFile#inflatedlen | |
| DiffBinaryFile#type |
| Instance Variables | |
|---|---|
| DiffDelta#flags | |
| DiffDelta#newFile | |
| DiffDelta#nfiles | |
| DiffDelta#oldFile | |
| DiffDelta#similarity | |
| DiffDelta#status |
| Instance Methods | |
|---|---|
| DiffFile#flags () | Sync |
| DiffFile#id () | Sync |
| DiffFile#mode () | Sync |
| DiffFile#path () | Sync |
| DiffFile#size () | Sync |
| Instance Variables | |
|---|---|
| DiffFile#flags | |
| DiffFile#id | |
| DiffFile#idAbbrev | |
| DiffFile#mode | |
| DiffFile#path | |
| DiffFile#size |
| Instance Variables | |
|---|---|
| DiffHunk#header | |
| DiffHunk#headerLen | |
| DiffHunk#newLines | |
| DiffHunk#newStart | |
| DiffHunk#oldLines | |
| DiffHunk#oldStart |
| Instance Methods | |
|---|---|
| DiffLine#content () | Sync |
| DiffLine#rawContent () | Sync |
| Instance Variables | |
|---|---|
| DiffLine#content | |
| DiffLine#contentLen | |
| DiffLine#contentOffset | |
| DiffLine#newLineno | |
| DiffLine#numLines | |
| DiffLine#oldLineno | |
| DiffLine#origin |
| Instance Variables | |
|---|---|
| DiffPerfdata#oidCalculations | |
| DiffPerfdata#statCalls | |
| DiffPerfdata#version |
| ENUMS | |
|---|---|
| Enums.CVAR | |
| Enums.DIRECTION | |
| Enums.FEATURE | |
| Enums.IDXENTRY_EXTENDED_FLAG | |
| Enums.INDXENTRY_FLAG |
| ENUMS | |
|---|---|
| Error.CODE | |
| Error.ERROR |
| Instance Variables | |
|---|---|
| Error#klass | |
| Error#message |
| Class Methods | |
|---|---|
| Fetch.initOptions (opts, version) | SyncExperimental |
| ENUMS | |
|---|---|
| Fetch.PRUNE |
| Instance Variables | |
|---|---|
| FetchOptions#callbacks | |
| FetchOptions#customHeaders | |
| FetchOptions#downloadTags | |
| FetchOptions#proxyOpts | |
| FetchOptions#prune | |
| FetchOptions#updateFetchhead | |
| FetchOptions#version |
| Class Methods | |
|---|---|
| Filter.listContains (filters, name) | Sync |
| Filter.listLength (fl) | Sync |
| Filter.load (repo, blob, path, mode, flags) | Async |
| Filter.unregister (name) | Sync |
| Instance Methods | |
|---|---|
| Filter#applyToBlob (blob) | Async |
| Filter#applyToData (in) | Async |
| Filter#applyToFile (repo, path) | Async |
| Filter#free () | Sync |
| Filter#lookup (name) | Sync |
| Filter#register (name, priority) | Sync |
| ENUMS | |
|---|---|
| Filter.FLAG | |
| Filter.MODE |
| Instance Variables | |
|---|---|
| Filter#apply | |
| Filter#attributes | |
| Filter#check | |
| Filter#cleanup | |
| Filter#initialize | |
| Filter#shutdown | |
| Filter#version |
| Class Methods | |
|---|---|
| FilterList.load (repo, blob, path, mode, flags) | AsyncExperimental |
| Instance Methods | |
|---|---|
| FilterList#applyToBlob (blob) | AsyncExperimental |
| FilterList#applyToData (in) | AsyncExperimental |
| FilterList#applyToFile (repo, path) | AsyncExperimental |
| FilterList#free () | SyncExperimental |
| Instance Methods | |
|---|---|
| FilterSource#filemode () | SyncExperimental |
| FilterSource#flags () | SyncExperimental |
| FilterSource#id () | SyncExperimental |
| FilterSource#mode () | SyncExperimental |
| FilterSource#path () | SyncExperimental |
| FilterSource#repo () | SyncExperimental |
| Class Methods | |
|---|---|
| Giterr.errClear () | SyncExperimental |
| Giterr.errLast () | SyncExperimental |
| Giterr.errSetOom () | SyncExperimental |
| Giterr.errSetString (error_class, string) | SyncExperimental |
| Class Methods | |
|---|---|
| Graph.aheadBehind (repo, local, upstream) | Async |
| Graph.descendantOf (repo, commit, ancestor) | Async |
| Class Methods | |
|---|---|
| Hashsig.create (buf, buflen, opts) | AsyncExperimental |
| Hashsig.createFromFile (path, opts) | AsyncExperimental |
| Instance Methods | |
|---|---|
| Hashsig#compare (b) | SyncExperimental |
| Hashsig#free () | SyncExperimental |
| ENUMS | |
|---|---|
| Hashsig.OPTION |
| Class Methods | |
|---|---|
| Ignore.addRule (repo, rules) | Sync |
| Ignore.clearInternalRules (repo) | Sync |
| Ignore.pathIsIgnored (repo, path) | Async |
| Class Methods | |
|---|---|
| Index.entryIsConflict (entry) | Sync |
| Index.entryStage (entry) | Sync |
| Index.open (index_path) | Async |
| ENUMS | |
|---|---|
| Index.ADD_OPTION | |
| Index.CAP |
| Instance Variables | |
|---|---|
| IndexTime#nanoseconds | |
| IndexTime#seconds |
| Instance Methods | |
|---|---|
| Indexer#commit (stats) | SyncExperimental |
| Indexer#free () | SyncExperimental |
| Indexer#hash () | SyncExperimental |
| Class Methods | |
|---|---|
| Libgit2.features () | SyncExperimental |
| Libgit2.init () | SyncExperimental |
| Libgit2.opts (option) | SyncExperimental |
| Libgit2.shutdown () | SyncExperimental |
| Libgit2.version (major, minor, rev) | SyncExperimental |
| ENUMS | |
|---|---|
| Libgit2.OPT |
| ENUMS | |
|---|---|
| Merge.ANALYSIS | |
| Merge.FILE_FAVOR | |
| Merge.FILE_FLAG | |
| Merge.FLAG | |
| Merge.PREFERENCE |
| Instance Variables | |
|---|---|
| MergeFileInput#mode | |
| MergeFileInput#path | |
| MergeFileInput#ptr | |
| MergeFileInput#size | |
| MergeFileInput#version |
| Instance Variables | |
|---|---|
| MergeFileOptions#ancestorLabel | |
| MergeFileOptions#favor | |
| MergeFileOptions#flags | |
| MergeFileOptions#ourLabel | |
| MergeFileOptions#theirLabel | |
| MergeFileOptions#version |
| Instance Variables | |
|---|---|
| MergeFileResult#automergeable | |
| MergeFileResult#len | |
| MergeFileResult#mode | |
| MergeFileResult#path | |
| MergeFileResult#ptr |
| Instance Methods | |
|---|---|
| Note#author () | Sync |
| Note#committer () | Sync |
| Note#free () | Sync |
| Note#id () | Sync |
| Note#message () | Sync |
| Class Methods | |
|---|---|
| Object.lookup (repo, id, type) | AsyncExperimental |
| Object.lookupPrefix (repo, id, len, type) | AsyncExperimental |
| Object.size (type) | SyncExperimental |
| Object.string2Type (str) | SyncExperimental |
| Object.type2String (type) | SyncExperimental |
| Object.typeisloose (type) | SyncExperimental |
| Instance Methods | |
|---|---|
| Object#dup () | AsyncExperimental |
| Object#free () | SyncExperimental |
| Object#id () | SyncExperimental |
| Object#lookupByPath (path, type) | AsyncExperimental |
| Object#owner () | SyncExperimental |
| Object#peel (target_type) | AsyncExperimental |
| Object#shortId () | AsyncExperimental |
| Object#type () | SyncExperimental |
| ENUMS | |
|---|---|
| Object.TYPE |
| Class Methods | |
|---|---|
| Odb.open (objects_dir) | Async |
| Instance Methods | |
|---|---|
| Odb#addDiskAlternate (path) | Sync |
| Odb#expandIds (ids, count) | Sync |
| Odb#free () | Sync |
| Odb#read (id) | Async |
| Odb#write (data, len, type) | Async |
| ENUMS | |
|---|---|
| Odb.STREAM |
| Instance Variables | |
|---|---|
| OdbExpandId#id | |
| OdbExpandId#length | |
| OdbExpandId#type |
| Instance Methods | |
|---|---|
| OdbObject#data () | SyncExperimental |
| OdbObject#dup () | AsyncExperimental |
| OdbObject#free () | SyncExperimental |
| OdbObject#id () | SyncExperimental |
| OdbObject#size () | SyncExperimental |
| OdbObject#type () | SyncExperimental |
| Class Methods | |
|---|---|
| Oid.fromString (str) | Sync |
| Instance Methods | |
|---|---|
| Oid#cmp (b) | Sync |
| Oid#cpy () | Sync |
| Oid#equal (b) | Sync |
| Oid#iszero () | Sync |
| Oid#ncmp (b, len) | Sync |
| Oid#strcmp (str) | Sync |
| Oid#streq (str) | Sync |
| Oid#tostrS () | Sync |
| Instance Methods | |
|---|---|
| Oidarray#free () | SyncExperimental |
| Instance Variables | |
|---|---|
| Oidarray#count | |
| Oidarray#ids |
| Class Methods | |
|---|---|
| Openssl.setLocking () | SyncExperimental |
| Class Methods | |
|---|---|
| Packbuilder.create (repo) | Sync |
| Instance Methods | |
|---|---|
| Packbuilder#free () | Sync |
| Packbuilder#hash () | Sync |
| Packbuilder#insert (id, name) | Sync |
| Packbuilder#insertCommit (id) | Sync |
| Packbuilder#insertRecur (id, name) | Sync |
| Packbuilder#insertTree (id) | Sync |
| Packbuilder#insertWalk (walk) | Sync |
| Packbuilder#objectCount () | Sync |
| Packbuilder#setThreads (n) | Sync |
| Packbuilder#written () | Sync |
| ENUMS | |
|---|---|
| Packbuilder.STAGE |
| Instance Methods | |
|---|---|
| Patch#getDelta () | Sync |
| Patch#getHunk (hunk_idx) | Async |
| Patch#getLineInHunk (hunk_idx, line_of_hunk) | Async |
| Patch#lineStats () | Sync |
| Patch#numHunks () | Sync |
| Patch#numLinesInHunk (hunk_idx) | Sync |
| Patch#size (include_context, include_hunk_headers, include_file_headers) | Sync |
| Instance Methods | |
|---|---|
| Pathspec#free () | Sync |
| Pathspec#matchDiff (diff, flags) | Async |
| Pathspec#matchIndex (index, flags) | Async |
| Pathspec#matchTree (tree, flags) | Async |
| Pathspec#matchWorkdir (repo, flags) | Async |
| Pathspec#matchesPath (flags, path) | Sync |
| ENUMS | |
|---|---|
| Pathspec.FLAG |
| Class Methods | |
|---|---|
| Proxy.initOptions (opts, version) | SyncExperimental |
| ENUMS | |
|---|---|
| Proxy.PROXY |
| Instance Variables | |
|---|---|
| ProxyOptions#certificateCheck | |
| ProxyOptions#credentials | |
| ProxyOptions#payload | |
| ProxyOptions#type | |
| ProxyOptions#url | |
| ProxyOptions#version |
| Class Methods | |
|---|---|
| Push.initOptions (opts, version) | SyncExperimental |
| Instance Variables | |
|---|---|
| PushOptions#callbacks | |
| PushOptions#customHeaders | |
| PushOptions#pbParallelism | |
| PushOptions#proxyOpts | |
| PushOptions#version |
| Instance Variables | |
|---|---|
| PushUpdate#dst | |
| PushUpdate#dstRefname | |
| PushUpdate#src | |
| PushUpdate#srcRefname |
| Class Methods | |
|---|---|
| Rebase.init (repo, branch, upstream, onto, opts) | Async |
| Rebase.initOptions (opts, version) | Sync |
| Rebase.open (repo, options, callback) | Async |
| Instance Methods | |
|---|---|
| Rebase#abort () | Async |
| Rebase#commit (author, committer, message_encoding, message) | Async |
| Rebase#finish (signature) | Sync |
| Rebase#inmemoryIndex (index) | Sync |
| Rebase#next () | Async |
| Rebase#operationByIndex (idx) | Sync |
| Rebase#operationCurrent () | Sync |
| Rebase#operationEntrycount () | Sync |
| ENUMS | |
|---|---|
| RebaseOperation.REBASE_OPERATION |
| Instance Variables | |
|---|---|
| RebaseOperation#exec | |
| RebaseOperation#id | |
| RebaseOperation#type |
| Instance Variables | |
|---|---|
| RebaseOptions#checkoutOptions | |
| RebaseOptions#mergeOptions | |
| RebaseOptions#quiet | |
| RebaseOptions#rewriteNotesRef | |
| RebaseOptions#version |
| Class Methods | |
|---|---|
| Refdb.open (repo) | AsyncExperimental |
| Instance Methods | |
|---|---|
| Refdb#compress () | SyncExperimental |
| Refdb#free () | SyncExperimental |
| Class Methods | |
|---|---|
| Reference.create (repo, name, id, force, log_message) | AsyncExperimental |
| Reference.createMatching (repo, name, id, force, current_id, log_message) | AsyncExperimental |
| Reference.dwim (repo, id, callback) | Async |
| Reference.ensureLog (repo, refname) | SyncExperimental |
| Reference.hasLog (repo, refname) | SyncExperimental |
| Reference.isValidName (refname) | SyncExperimental |
| Reference.list (repo) | AsyncExperimental |
| Reference.lookup (repo, id, callback) | Async |
| Reference.nameToId (repo, name) | AsyncExperimental |
| Reference.normalizeName (buffer_out, buffer_size, name, flags) | SyncExperimental |
| Reference.remove (repo, name) | SyncExperimental |
| Reference.symbolicCreate (repo, name, target, force, log_message) | AsyncExperimental |
| Reference.symbolicCreateMatching (repo, name, target, force, current_value, log_message) | AsyncExperimental |
| Instance Methods | |
|---|---|
| Reference#cmp (ref2) | SyncExperimental |
| Reference#delete () | SyncExperimental |
| Reference#dup () | AsyncExperimental |
| Reference#isBranch () | SyncExperimental |
| Reference#isConcrete () | Sync |
| Reference#isHead () | Sync |
| Reference#isNote () | SyncExperimental |
| Reference#isRemote () | SyncExperimental |
| Reference#isSymbolic () | Sync |
| Reference#isTag () | SyncExperimental |
| Reference#isValid () | Sync |
| Reference#name () | SyncExperimental |
| Reference#owner () | SyncExperimental |
| Reference#peel (type) | AsyncExperimental |
| Reference#rename (new_name, force, log_message) | AsyncExperimental |
| Reference#resolve () | AsyncExperimental |
| Reference#setTarget (id, log_message) | AsyncExperimental |
| Reference#shorthand () | SyncExperimental |
| Reference#symbolicSetTarget (target, log_message) | AsyncExperimental |
| Reference#symbolicTarget () | SyncExperimental |
| Reference#target () | SyncExperimental |
| Reference#targetPeel () | SyncExperimental |
| Reference#toString () | Sync |
| Reference#type () | SyncExperimental |
| ENUMS | |
|---|---|
| Reference.NORMALIZE | |
| Reference.TYPE |
| Class Methods | |
|---|---|
| Reflog.delete (repo, name) | SyncExperimental |
| Reflog.read (repo, name) | AsyncExperimental |
| Reflog.rename (repo, old_name, name) | SyncExperimental |
| Instance Methods | |
|---|---|
| Reflog#append (id, committer, msg) | SyncExperimental |
| Reflog#drop (idx, rewrite_previous_entry) | SyncExperimental |
| Reflog#entryByIndex (idx) | SyncExperimental |
| Reflog#entrycount () | SyncExperimental |
| Reflog#free () | SyncExperimental |
| Reflog#write () | AsyncExperimental |
| Instance Methods | |
|---|---|
| ReflogEntry#committer () | SyncExperimental |
| ReflogEntry#idNew () | SyncExperimental |
| ReflogEntry#idOld () | SyncExperimental |
| ReflogEntry#message () | SyncExperimental |
| Instance Methods | |
|---|---|
| Refspec#direction () | SyncExperimental |
| Refspec#dst () | SyncExperimental |
| Refspec#dstMatches (refname) | SyncExperimental |
| Refspec#force () | SyncExperimental |
| Refspec#src () | SyncExperimental |
| Refspec#srcMatches (refname) | SyncExperimental |
| Instance Methods | |
|---|---|
| Remote#autotag () | Sync |
| Remote#connect (direction, callbacks, proxyOpts, customHeaders, callback) | Async |
| Remote#connected () | Sync |
| Remote#defaultBranch () | Async |
| Remote#disconnect () | Async |
| Remote#download (refSpecs, opts, callback) | Async |
| Remote#dup () | Async |
| Remote#fetch (refSpecs, opts, message, callback) | Async |
| Remote#free () | Sync |
| Remote#getFetchRefspecs () | Async |
| Remote#getPushRefspecs () | Async |
| Remote#getRefspec (n) | Sync |
| Remote#name () | Sync |
| Remote#owner () | Sync |
| Remote#prune (callbacks) | Sync |
| Remote#pruneRefs () | Sync |
| Remote#push (refSpecs, options, callback) | Async |
| Remote#pushurl () | Sync |
| Remote#referenceList () | Async |
| Remote#refspecCount () | Sync |
| Remote#stats () | Sync |
| Remote#stop () | Sync |
| Remote#updateTips (callbacks, update_fetchhead, download_tags, reflog_message) | Sync |
| Remote#upload (refSpecs, options, callback) | Async |
| Remote#url () | Sync |
| ENUMS | |
|---|---|
| Remote.AUTOTAG_OPTION | |
| Remote.COMPLETION_TYPE |
| Instance Variables | |
|---|---|
| RemoteHead#local | |
| RemoteHead#loid | |
| RemoteHead#name | |
| RemoteHead#oid | |
| RemoteHead#symrefTarget |
| Class Methods | |
|---|---|
| Repository.discover (startPath, acrossFs, ceilingDirs) | Async |
| Repository.init (path, is_bare) | Async |
| Repository.initExt (repo_path, opts) | Async |
| Repository.open (path) | Async |
| Repository.openBare (bare_path) | Async |
| Repository.openExt (path, flags, ceiling_dirs) | Async |
| Repository.wrapOdb (odb) | Async |
| ENUMS | |
|---|---|
| Repository.INIT_FLAG | |
| Repository.INIT_MODE | |
| Repository.OPEN_FLAG | |
| Repository.STATE |
| Class Methods | |
|---|---|
| Reset.default (repo, target, pathspecs) | Async |
| Reset.fromAnnotated (repo, target, resetType, opts) | Async |
| Reset.reset (repo, target, resetType, opts, name) | Async |
| ENUMS | |
|---|---|
| Reset.TYPE |
| Class Methods | |
|---|---|
| Revert.commit (repo, revert_commit, our_commit, mainline, merge_options) | Async |
| Revert.revert (repo, commit, revert_options) | Async |
| Instance Variables | |
|---|---|
| RevertOptions#checkoutOpts | |
| RevertOptions#mainline | |
| RevertOptions#mergeOpts | |
| RevertOptions#version |
| Class Methods | |
|---|---|
| Revparse.ext (object_out, reference_out, repo, spec) | Sync |
| Revparse.single (repo, spec) | Async |
| ENUMS | |
|---|---|
| Revparse.MODE |
| Class Methods | |
|---|---|
| Revwalk.create (repo) | Sync |
| Instance Methods | |
|---|---|
| Revwalk#fastWalk (max_count) | Async |
| Revwalk#fileHistoryWalk (filePath, max_count) | Async |
| Revwalk#free () | Sync |
| Revwalk#getCommits (count) | Async |
| Revwalk#getCommitsUntil (checkFn) | Async |
| Revwalk#hide (commit_id) | Sync |
| Revwalk#hideGlob (glob) | Sync |
| Revwalk#hideHead () | Sync |
| Revwalk#hideRef (refname) | Sync |
| Revwalk#next () | Async |
| Revwalk#push (id) | Sync |
| Revwalk#pushGlob (glob) | Sync |
| Revwalk#pushHead () | Sync |
| Revwalk#pushRange (range) | Sync |
| Revwalk#pushRef (refname) | Sync |
| Revwalk#repository () | Sync |
| Revwalk#reset () | Sync |
| Revwalk#simplifyFirstParent () | Sync |
| Revwalk#sorting (sort) | Sync |
| Revwalk#walk (oid, callback) | Sync |
| ENUMS | |
|---|---|
| Revwalk.SORT |
| Class Methods | |
|---|---|
| Signature.create (name, email, time, offset) | Sync |
| Signature.default (repo) | Sync |
| Signature.fromBuffer (buf) | Async |
| Signature.now (name, email) | Sync |
| Instance Methods | |
|---|---|
| Signature#dup () | Async |
| Signature#free () | Sync |
| Signature#toString () | Sync |
| Instance Variables | |
|---|---|
| Signature#email | |
| Signature#name | |
| Signature#when |
| Class Methods | |
|---|---|
| Stash.apply (repo, index, options) | Async |
| Stash.applyInitOptions (opts, version) | Sync |
| Stash.drop (repo, index) | Async |
| Stash.foreach (repo, callback, payload) | Async |
| Stash.pop (repo, index, options) | Async |
| Stash.save (repo, stasher, message, flags) | Async |
| ENUMS | |
|---|---|
| Stash.APPLY_FLAGS | |
| Stash.APPLY_PROGRESS | |
| Stash.FLAGS |
| Instance Variables | |
|---|---|
| StashApplyOptions#checkoutOptions | |
| StashApplyOptions#flags | |
| StashApplyOptions#progressCb | |
| StashApplyOptions#progressPayload | |
| StashApplyOptions#version |
| ENUMS | |
|---|---|
| Status.OPT | |
| Status.SHOW | |
| Status.STATUS |
| Instance Variables | |
|---|---|
| StatusEntry#headToIndex | |
| StatusEntry#indexToWorkdir | |
| StatusEntry#status |
| Class Methods | |
|---|---|
| StatusList.create (repo, opts) | Async |
| Instance Methods | |
|---|---|
| StatusList#entrycount () | Sync |
| StatusList#free () | Sync |
| StatusList#getPerfdata () | Async |
| Instance Variables | |
|---|---|
| StatusOptions#flags | |
| StatusOptions#pathspec | |
| StatusOptions#show | |
| StatusOptions#version |
| Instance Methods | |
|---|---|
| Strarray#copy (src) | SyncExperimental |
| Strarray#free () | SyncExperimental |
| Instance Variables | |
|---|---|
| Strarray#count | |
| Strarray#strings |
| Instance Methods | |
|---|---|
| Submodule#addFinalize () | Async |
| Submodule#addToIndex (write_index) | Async |
| Submodule#branch () | Sync |
| Submodule#fetchRecurseSubmodules () | Sync |
| Submodule#free () | Sync |
| Submodule#headId () | Sync |
| Submodule#ignore () | Sync |
| Submodule#indexId () | Sync |
| Submodule#init (overwrite) | Async |
| Submodule#location () | Async |
| Submodule#name () | Sync |
| Submodule#open () | Async |
| Submodule#owner () | Sync |
| Submodule#path () | Sync |
| Submodule#reload (force) | Sync |
| Submodule#repoInit (use_gitlink) | Async |
| Submodule#sync () | Async |
| Submodule#update (init, options) | Async |
| Submodule#updateStrategy () | Sync |
| Submodule#url () | Sync |
| Submodule#wdId () | Sync |
| ENUMS | |
|---|---|
| Submodule.IGNORE | |
| Submodule.RECURSE | |
| Submodule.STATUS | |
| Submodule.UPDATE |
| Instance Variables | |
|---|---|
| SubmoduleUpdateOptions#allowFetch | |
| SubmoduleUpdateOptions#checkoutOpts | |
| SubmoduleUpdateOptions#fetchOpts | |
| SubmoduleUpdateOptions#version |
| Instance Methods | |
|---|---|
| Tag#dup () | Async |
| Tag#free () | Sync |
| Tag#id () | Sync |
| Tag#message () | Sync |
| Tag#name () | Sync |
| Tag#owner () | Sync |
| Tag#peel () | Async |
| Tag#tagger () | Sync |
| Tag#target () | Sync |
| Tag#targetId () | Sync |
| Tag#targetType () | Sync |
| Class Methods | |
|---|---|
| Time.monotonic () | SyncExperimental |
| Instance Variables | |
|---|---|
| Time#offset | |
| Time#time |
| ENUMS | |
|---|---|
| Trace.LEVEL |
| Class Methods | |
|---|---|
| Transport.sshWithPaths (owner, payload) | AsyncExperimental |
| Transport.unregister (prefix) | SyncExperimental |
| Instance Methods | |
|---|---|
| Transport#init (version) | SyncExperimental |
| Transport#smartCertificateCheck (cert, valid, hostname) | SyncExperimental |
| ENUMS | |
|---|---|
| Transport.FLAGS |
| Class Methods | |
|---|---|
| Tree.entryCmp (e1, e2) | Sync |
| Tree.entryDup (dest, source) | Sync |
| Tree.lookup (repo, id, callback) | Async |
| Tree.lookupPrefix (repo, id, len) | Async |
| Instance Methods | |
|---|---|
| Tree#_entryByIndex (idx) | Sync |
| Tree#_entryByName (filename) | Sync |
| Tree#builder () | Sync |
| Tree#createUpdated (repo, nupdates, updates) | Async |
| Tree#diff (tree, callback) | Async |
| Tree#diffWithOptions (tree, options, callback) | Async |
| Tree#dup () | Async |
| Tree#entries () | Sync |
| Tree#entryById (id) | Sync |
| Tree#entryByIndex (i) | Sync |
| Tree#entryByName (name) | Sync |
| Tree#entryByPath (path) | Async |
| Tree#entryCount () | Sync |
| Tree#free () | Sync |
| Tree#getEntry (filePath) | Async |
| Tree#id () | Sync |
| Tree#owner () | Sync |
| Tree#path () | Sync |
| [Tree#walk (blobsOnly) | Sync |
| ENUMS | |
|---|---|
| Tree.UPDATE | |
| Tree.WALK_MODE |
| Instance Methods | |
|---|---|
| TreeEntry#filemode () | Sync |
| TreeEntry#filemodeRaw () | Sync |
| TreeEntry#free () | Sync |
| TreeEntry#getBlob () | Async |
| TreeEntry#getTree () | Async |
| TreeEntry#id () | Sync |
| TreeEntry#isBlob () | Sync |
| TreeEntry#isDirectory () | Sync |
| TreeEntry#isFile () | Sync |
| TreeEntry#isSubmodule () | Sync |
| TreeEntry#isTree () | Sync |
| TreeEntry#name () | Sync |
| TreeEntry#oid () | Sync |
| TreeEntry#path () | Sync |
| TreeEntry#sha () | Sync |
| TreeEntry#toObject (repo) | Async |
| TreeEntry#toString () | Sync |
| TreeEntry#type () | Sync |
| ENUMS | |
|---|---|
| TreeEntry.FILEMODE |
| Instance Variables | |
|---|---|
| TreeUpdate#action | |
| TreeUpdate#filemode | |
| TreeUpdate#id | |
| TreeUpdate#path |
| Class Methods | |
|---|---|
| Treebuilder.create (repo, source) | Async |
| Instance Methods | |
|---|---|
| Treebuilder#clear () | Sync |
| Treebuilder#entrycount () | Sync |
| Treebuilder#free () | Sync |
| Treebuilder#get (filename) | Sync |
| Treebuilder#insert (filename, id, filemode) | Sync |
| Treebuilder#remove (filename) | Sync |
| Treebuilder#write () | Sync |