Struct git_workarea::PreparedGitWorkArea [] [src]

pub struct PreparedGitWorkArea { /* fields omitted */ }

A representation of an empty work area where actions which require a work tree and an index may be preformed.

Methods

impl PreparedGitWorkArea
[src]

Create an area for performing actions which require a work tree.

Run a git command in the work area.

Prepare a command to create a merge commit.

The merge is performed, but only as a tree object. In order to create the actual commit object, a successful merge returns a command which should be executed to create the commit object. That commit object should then be stored in a reference using git update-ref.

The path to the git repository.

The submodule configuration for the repository.

This is read from the .gitmodules file in the commit (if it exists).

Trait Implementations

impl Debug for PreparedGitWorkArea
[src]

Formats the value using the given formatter.