Sebastian Thielrefactora567b246 years agoHistory
10 lines · 305 B · Rust
RawDownload
type Result = std::result::Result<(), Box<dyn std::error::Error>>;use std::path::PathBuf; pub fn fixture_bytes(path: &str) -> Vec<u8> {    std::fs::read(PathBuf::from("tests").join("fixtures").join(path)).expect("fixture to be present and readable")} mod credentials;mod fetch;mod remote_progress;

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