Leavitt/src/state.rs

14 lines
187 B
Rust
Raw Normal View History

2022-11-10 11:37:00 +00:00
use std::cell::Ref;
use git2::Repository;
pub struct State<'a> {
repo: &'a Repository,
}
impl State<'a> {
pub fn new(repo: &Repository) -> Self {
Self { repo }
}
}