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