Xgit v0.5.0 API Reference

Modules

Just a tiny little project.

Represents a git commit object in memory.

Protocol used for reading object content from various sources.

A directory cache records the current (intended) contents of a working tree when last scanned or created by git.

A single file (or stage of a file) in a directory cache.

Implements Xgit.Core.ContentSource to read content from a file on disk.

Describes the file type as represented on disk.

Describes a file path as stored in a git repo.

Describes a single object stored (or about to be stored) in a git repository.

An object ID is a string that identifies an object within a repository.

Describes the known git object types.

A combination of a person identity and time in git.

A reference is a struct that describes a mutable pointer to a commit or similar object.

Represents a git tree object in memory.

A single file in a tree structure.

Retrieves the content, type, and size information for a single object in a repository's object store.

Retrieves a commit object from a repository's object store.

Retrieves a tree object from a repository's object store.

Creates a new commit object based on the provided tree object.

Computes an object ID and optionally writes that into the repository's object store.

Show information about files in the index.

Read a tree object (and its descendants) and populate the index accordingly.

Modify a symbolic ref in a repo.

Update the index file to reflect new contents.

Update the object name stored in a ref.

Write the index file as a tree object.

Represents an abstract git repository.

Implementation of Xgit.Repository that stores content in memory.

Implementation of Xgit.Repository that stores content on the local file system.

A working tree is an on-disk manifestation of a commit or pending commit in a git repository.

Parse a git index file and turn it into a corresponding Xgit.Core.DirCache structure.

Save an Xgit.Core.DirCache to the corresponding git index file data structure.