girt-core 2.3.0

Core modules for git-interactive-rebase-tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::search::{Interrupter, SearchResult, Searchable};

pub(crate) struct MockedSearchable;

impl MockedSearchable {
	pub(crate) const fn new() -> Self {
		Self {}
	}
}

impl Searchable for MockedSearchable {
	fn reset(&mut self) {}

	fn search(&mut self, _: Interrupter, _: &str) -> SearchResult {
		SearchResult::None
	}
}