We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b34dedd commit e271defCopy full SHA for e271def
asyncgit/src/sync/stash.rs
@@ -1,20 +1,22 @@
1
-#![allow(dead_code)]
2
use super::utils::repo;
3
use crate::error::Result;
4
use git2::{Oid, StashFlags};
5
use scopetime::scope_time;
6
7
///
+#[allow(dead_code)]
8
pub struct StashItem {
9
pub msg: String,
10
index: usize,
11
id: Oid,
12
}
13
14
15
16
pub struct StashItems(Vec<StashItem>);
17
18
19
20
pub fn get_stashes(repo_path: &str) -> Result<StashItems> {
21
scope_time!("get_stashes");
22
0 commit comments