0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-06 22:40:28 -05:00
zot/pkg/storage
Eng Zer Jun 0d77b60de7 test: use T.TempDir to create temporary test directory
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-03-07 12:28:49 -08:00
..
s3 s3: bugfix, use sync.Map instead of map for storing multi part uploads references 2022-03-03 09:12:07 -08:00
cache.go lint: upgrade golangci-lint 2021-12-20 17:20:35 -08:00
cache_test.go test: use T.TempDir to create temporary test directory 2022-03-07 12:28:49 -08:00
scrub.go Added storage latency histogram metric 2022-01-10 11:55:39 -08:00
scrub_test.go test: use T.TempDir to create temporary test directory 2022-03-07 12:28:49 -08:00
storage.go gc: add a gcDelay param 2022-02-14 14:03:22 -08:00
storage_fs.go s3: bugfix, use sync.Map instead of map for storing multi part uploads references 2022-03-03 09:12:07 -08:00
storage_fs_test.go test: use T.TempDir to create temporary test directory 2022-03-07 12:28:49 -08:00
storage_test.go test: use T.TempDir to create temporary test directory 2022-03-07 12:28:49 -08:00