Ggit
Description:
Content:
Classes:
- AnnotatedCommit - Represents an annotated commit object.
- Blame - Represents a blame.
- BlameHunk - Represents a blame hunk.
- BlameOptions - Represents blame options.
- Blob - Represents a blob object.
- BlobOutputStream - Represents a blob stream object.
- Branch - Represents a branch object.
- BranchEnumerator - Represents a branch enumerator.
- CheckoutOptions - Represents the options used when doign a checkout.
- CherryPickOptions - Represents the options used when doign a cherry-pick.
- CloneOptions - Represents the options used when cloning.
- Commit - Represents a commit object.
- CommitParents - Represents the parents of a commit object.
- Config - Represents a git configuration.
- ConfigEntry - Represents a git configuration entry.
- Cred - Represents a git credential.
- CredPlaintext - Represents a plain text credential.
- CredSshInteractive - Represents a ssh interactive credential.
- CredSshInteractivePrompt - Represents a ssh interactive prompt.
- CredSshKeyFromAgent - Represents a ssh key agent credential.
- Diff - Represents a diff list.
- DiffBinary - Represents a diff binary.
- DiffBinaryFile - Represents a diff binary file.
- DiffDelta - Represents the changes done to one file.
- DiffFile - Represents a file in a Diff.
- DiffFindOptions - Represents options for finding diff similarity.
- DiffFormatEmailOptions
- DiffHunk - Represents the hunk of a diff.
- DiffLine - Represents the line of a diff.
- DiffOptions - Represents the options used when creating a Diff.
- DiffSimilarityMetric - Represents a similarity metric.
- FetchOptions - Represents a git fetch options.
- Index - Represents an index object.
- IndexEntries - Represents the entries in an index object.
- IndexEntriesResolveUndo - Represents the resolve undo entries in an index object.
- IndexEntry - Represents an index entry object.
- IndexEntryResolveUndo - Represents an resolve undo index entry object.
- Mailmap - Represents a mailmap.
- MergeOptions - Represents the options used when merging.
- Native - Represents a generic native object.
- Note - Represents a note object.
- OId - Represents a unique ID of any object.
- Object - Represents a generic object in a repository.
- ObjectFactory - Represents an object factory.
- ObjectFactoryBase - Represents the base type for objects created by an object factory.
- Patch - Represents a patch object.
- ProxyOptions - Represents a git proxy options.
- PushOptions - Represents a git push options.
- Rebase - Represents a rebase object.
- RebaseOperation - Represents a rebase operation.
- RebaseOptions - Represents the options used when rebasing.
- Ref - Reprensents a git reference.
- RefSpec - Reprensents a git reference specification.
- Reflog - Represents a reflog.
- ReflogEntry - Represents a reflog entry.
- Remote - Represents a git remote.
- RemoteCallbacks - Represents a git remote callbacks.
- RemoteHead - Represents a git remote head.
- Repository - Represents an existing git repository including all of it's object contents.
- RevertOptions - Represents the options used when reverting.
- RevisionWalker - Represents a revision walker.
- Signature - Represents an action signature.
- StatusOptions - Represents the options used when creating getting file status.
- Submodule - Represents a git submodule.
- SubmoduleUpdateOptions - Represents options for a submodule update.
- Tag - Represents a tag object.
- TransferProgress - Represents transfering progress.
- Tree - Represents a tree object.
- TreeBuilder - Represents a tree object.
- TreeEntry - Represents an entry in a tree.
Enums:
- AttributeCheckFlags - Attribute check flags indicate the order in which to check for gitattributes.
- BlameFlags
- BranchType - The type of a branch.
- CheckoutNotifyFlags
- CheckoutStrategy
- CloneLocal
- ConfigLevel - Priority level of a config file.
- CreateFlags - Describes how something should be created.
- Credtype
- DeltaType - Describes the type of change the delta is.
- DiffBinaryType - When producing a binary diff, the binary data returned will be either the deflated full ("literal") contents of the file, or the deflated binary delta between the two sides (whichever is smaller).
- DiffFindFlags
- DiffFlag - Describes the diff file and/or delta flags
- DiffFormatEmailFlags
- DiffFormatType - Possible output formats for diff data.
- DiffLineType - These values describe where a line came from and will be passed to the DiffLineCallback when iterating over a diff.
- DiffOption - How the diff should be generated.
- Direction
- FeatureFlags
- FileMode
- MergeFileFavor
- MergeFileFlags - GGIT_MERGE_FILE_DEFAULT: Defaults.
- MergeFlags
- PackbuilderStage - Valid stages for pack building.
- ProxyType - The type of proxy to use.
- RebaseOperationType - Type of rebase operation in-progress.
- RefType - Describes the type a reference is.
- RemoteCompletionType - Argument to the completion callback which tells it which operation finished.
- RemoteDownloadTagsType - Automatic tag following option
- ResetType - Describes the type of reset to perform.
- SortMode - The type of sorting mode for the revision walker.
- StashFlags - Describes how a stash should be applied.
- StatusFlags - Describes a file's status.
- StatusOption - GGIT_STATUS_OPTION_INCLUDE_UNTRACKED: include untracked files (default).
- StatusShow - Show options for file_status_foreach.
- SubmoduleIgnore - Describes which submodules should be ignored.
- SubmoduleRecurse - Options for submodule recurse.
- SubmoduleStatus - FIXME
- SubmoduleUpdate - Describes how a submodule should be updated.
- TreeWalkMode - Describes in which order a tree walk should be performed.
Error domains:
- Error - Error codes for the ggit_error error domain.
Constants:
- public const string BUILD_TYPE
The build type of the installed build.
- public const int MAJOR_VERSION
libgit2-glib major version component (e.
- public const int MINOR_VERSION
libgit2-glib minor version component (e.
- public const string VERSION_S
libgit2-glib version, encoded as a string, useful for printing and concatenation.
Delegates:
- public delegate int ConfigCallback (ConfigEntry entry)
The type of the callback functions for retrieving values from a Config.
- public delegate int ConfigMatchCallback (MatchInfo match_info, string value)
The type of the callback functions for retrieving values from a Config using a regular expression.
- public delegate int CredAcquireCallback (string url, string? username_from_url, uint allowed_types, owned Cred cred)
Signature of a function which acquires a credential object.
- public delegate int DiffBinaryCallback (DiffDelta delta, DiffBinary binary)
Called for each file.
- public delegate int DiffFileCallback (DiffDelta delta, float progress)
Called for each file.
- public delegate int DiffHunkCallback (DiffDelta delta, DiffHunk hunk)
Called for each hunk.
- public delegate int DiffLineCallback (DiffDelta delta, DiffHunk? hunk, DiffLine line)
Called for each line.
- public delegate int DiffSimilarityMetricBufferSignatureCallback (DiffFile file, string buf, size_t buflen, void* @out)
- public delegate int DiffSimilarityMetricFileSignatureCallback (DiffFile file, string fullpath, void* @out)
- public delegate void DiffSimilarityMetricFreeSignatureCallback (void* signature)
- public delegate int DiffSimilarityMetricSimilarityCallback (int score, void* signature_a, void* signature_b)
- public delegate int NoteCallback (OId blob_id, OId annotated_object_id)
When iterating over all the notes, callback that will be issued per note.
- public delegate int ReferencesCallback (owned Ref reference)
The type of the callback functions for retrieving the references in a Repository.
- public delegate int ReferencesNameCallback (string name)
The type of the callback functions for retrieving the references in a Repository.
- public delegate int RemoteListCallback (string name, OId oid, OId loid, bool local)
The type of the callback functions for listing the references of a Remote.
- public delegate int StashCallback (size_t index, string message, OId stash_oid)
When iterating over all the stashed states, callback that will be issued per entry.
- public delegate int StatusCallback (string path, StatusFlags status_flags)
The type of the callback functions for retrieving the status of the files in a Repository.
- public delegate int SubmoduleCallback (Submodule submodule, string name)
The type of the callback functions for retrieving the submodules in a Repository.
- public delegate int TagCallback (string name, OId tag_oid)
When iterating over all the tags, callback that will be issued per entry.
- public delegate int TransferProgressCallback (TransferProgress stats)
Progress callbacks during indexing.
- public delegate int TreeWalkCallback (string root, TreeEntry entry)
The type of the callback functions for walking a tree.
Functions:
- public Quark error_quark ()
- public FeatureFlags get_features ()
Gets the features of the library.
- public void init ()
Call this function before using any other libgit2-glib function.
- public string message_prettify (string message, bool strip_comments, char comment_char)
Prettify a commit message by removing excess whitespace and making sure the last line ends with a newline.