Sebastian Thiel[ref #138] refactor3fc00145 years agoHistory
12 lines · 329 B · Rust
RawDownload
use std::path::PathBuf; pub fn write_packed_refs_with(input: &[u8]) -> crate::Result<(tempfile::TempDir, PathBuf)> {    let dir = tempfile::tempdir()?;    let packed_refs_path = dir.path().join("packed-refs");    std::fs::write(&packed_refs_path, input)?;    Ok((dir, packed_refs_path))} mod find;pub mod iter;mod open;

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