13 lines · 471 B · Rust
RawDownload
mod fs;mod handle; mod force_setup {    #[test]    fn can_be_called_multiple_times() {        // we could probably be smart and figure out that this does the right thing, but… it's good enough it won't fail ;).        git_tempfile::force_setup(git_tempfile::SignalHandlerMode::DeleteTempfilesOnTermination);        git_tempfile::force_setup(            git_tempfile::SignalHandlerMode::DeleteTempfilesOnTerminationAndRestoreDefaultBehaviour,        );    }}

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