Leavitt/src/state.rs

14 lines
187 B
Rust

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 }
}
}