Sebastian Thielsimplify folder names36fde1f6 years agoHistory
15 lines · 321 B · Rust
RawDownload
use std::path::PathBuf; mod borrowed; pub fn hex_to_id(hex: &str) -> git_object::Id {    git_object::Id::from_hex(hex.as_bytes()).unwrap()} pub fn fixture(path: &str) -> PathBuf {    PathBuf::from("tests/fixtures").join(path)} fn fixture_bytes(path: &str) -> Vec<u8> {    std::fs::read(fixture(path)).unwrap()}

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