git_workarea/
lib.rs

1// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
2// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
4// option. This file may not be copied, modified, or distributed
5// except according to those terms.
6
7#![deny(missing_docs)]
8// XXX(rust-1.66)
9#![allow(clippy::uninlined_format_args)]
10
11//! Git workarea
12//!
13//! This crate implements a workarea given a bare git repository. A workarea is like a worktree
14//! except that its on-disk representation is minimal so that operations are not constrained by
15//! disk speed.
16
17mod git;
18mod prepare;
19
20pub use git::CommitId;
21pub use git::GitContext;
22pub use git::GitError;
23pub use git::Identity;
24pub use git::MergeStatus;
25
26pub use prepare::Conflict;
27pub use prepare::GitWorkArea;
28pub use prepare::MergeCommand;
29pub use prepare::MergeResult;
30pub use prepare::SubmoduleConfig;
31pub use prepare::SubmoduleIntent;
32pub use prepare::WorkAreaError;
33
34#[cfg(test)]
35mod test;