17 lines · 454 B · Rust
RawDownload
mod cache;mod checkout;mod status; use std::path::{Path, PathBuf}; use gix_hash::ObjectId;pub type Result<T = ()> = std::result::Result<T, Box<dyn std::error::Error>>; pub fn hex_to_id(hex: &str) -> ObjectId {    ObjectId::from_hex(hex.as_bytes()).expect("40 bytes hex")} pub fn fixture_path(name: &str) -> PathBuf {    let dir = gix_testtools::scripted_fixture_read_only(Path::new(name).with_extension("sh")).expect("script works");    dir}

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