20 lines · 693 B · Rust
RawDownload
#[test]#[cfg(feature = "internal-testing-git-features-parallel")]fn is_send_and_sync() {    pub fn store_at(name: &str) -> crate::Result<git_ref::file::Store> {        let path = git_testtools::scripted_fixture_read_only_standalone(name)?;        Ok(git_ref::file::Store::at(            path.join(".git"),            git_ref::store::WriteReflog::Normal,            git_hash::Kind::Sha1,        ))    }     pub fn store_with_packed_refs() -> crate::Result<git_ref::file::Store> {        store_at("make_packed_ref_repository.sh")    }    fn assert_type<T: Send + Sync>(_t: T) {}    let store = store_with_packed_refs().unwrap();    assert_type(&store);    assert_type(store);}

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