grit-lib 0.5.19

Core library for the grit Git implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Stash stack read/write — stable types from [`crate::porcelain::stash`].
//!
//! Library guide: [mod](https://grit-scm.com/docs/library/stash)
//!
//! ```rust
//! use grit_lib::repo::{InitOptions, Repository};
//! # fn main() -> grit_lib::error::Result<()> {
//! let dir = tempfile::tempdir()?;
//! let _repo = Repository::init(dir.path(), &InitOptions::default())?;
//! let _ = _repo.stash();
//!
//! # Ok(())
//! # }
//! ```
pub use crate::porcelain::stash::*;