mirror of
https://github.com/restic/restic.git
synced 2026-02-18 18:18:18 -05:00
Calling t.Fatal internally triggers runtime.Goexit . This kills the current goroutine while only running deferred code. Add an extra context that gets canceled if the go routine exits while within the user provided callback. |
||
|---|---|---|
| .. | ||
| hashing | ||
| index | ||
| pack | ||
| testdata | ||
| check.go | ||
| checker.go | ||
| doc.go | ||
| fuzz_test.go | ||
| key.go | ||
| lock.go | ||
| lock_test.go | ||
| packer_manager.go | ||
| packer_manager_test.go | ||
| packer_uploader.go | ||
| prune.go | ||
| prune_internal_test.go | ||
| prune_test.go | ||
| raw.go | ||
| raw_test.go | ||
| repack.go | ||
| repack_test.go | ||
| repair_index.go | ||
| repair_index_test.go | ||
| repair_pack.go | ||
| repair_pack_test.go | ||
| repository.go | ||
| repository_internal_test.go | ||
| repository_test.go | ||
| testing.go | ||
| upgrade_repo.go | ||
| upgrade_repo_test.go | ||
| warmup.go | ||
| warmup_test.go | ||