23 lines · 593 B · Rust
RawDownload
use git_hash::ObjectId;pub use git_testtools::{fixture_path, scripted_fixture_read_only}; pub fn hex_to_id(hex: &str) -> ObjectId {    ObjectId::from_hex(hex.as_bytes()).expect("40 bytes hex")} pub type Result<T = ()> = std::result::Result<T, Box<dyn std::error::Error>>; fn db() -> git_odb::Handle {    git_odb::at(fixture_path("objects")).expect("valid object path")} fn db_small_packs() -> git_odb::Handle {    git_odb::at(fixture_path("repos/small-packs.git/objects")).unwrap()} pub mod alternate;pub mod find;pub mod header;pub mod regression;pub mod sink;pub mod store;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t