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 d3c3ae8 commit 80362d8Copy full SHA for 80362d8
josh-core/src/cache.rs
@@ -29,9 +29,6 @@ pub trait FilterHook {
29
fn filter_for_commit(&self, commit_oid: git2::Oid, arg: &str) -> JoshResult<filter::Filter>;
30
}
31
32
-static DB: LazyLock<std::sync::Mutex<Option<sled::Db>>> =
33
- LazyLock::new(|| std::sync::Mutex::new(None));
34
-
35
pub(crate) fn josh_commit_signature<'a>() -> JoshResult<git2::Signature<'a>> {
36
Ok(if let Ok(time) = std::env::var("JOSH_COMMIT_TIME") {
37
git2::Signature::new(
0 commit comments