FedP2P/storage
Eng Zer Jun 841a702e34
test: use `T.TempDir` to create temporary test directory (#718)
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-02-02 18:26:46 +11:00
..
disabled Change torrent capacity to not return a pointer 2021-09-15 23:33:17 +10:00
sqlite Add const noCacheBlobs in sqlite storage benchmarks 2022-01-10 16:20:03 +11:00
test Drop bradfitz/iter dependency (#605) 2021-09-14 13:46:50 +10:00
bolt-piece-completion.go gofumpt 2021-11-08 14:47:01 +11:00
bolt-piece-completion_test.go test: use `T.TempDir` to create temporary test directory (#718) 2022-02-02 18:26:46 +11:00
bolt-piece.go gofumpt 2021-11-08 14:47:01 +11:00
bolt.go gofumpt 2021-11-08 14:47:01 +11:00
default-dir-piece-completion-boltdb.go Fix wasm build 2021-12-07 13:08:06 +11:00
default-dir-piece-completion-other.go Fix wasm build 2021-12-07 13:08:06 +11:00
doc.go storage: Add package doc 2017-03-18 13:03:02 +11:00
file-deprecated.go Add "no name" handling and storage.NewFileOpts 2021-09-02 10:22:32 +10:00
file-misc.go Big rename of files and types in storage 2021-05-05 12:05:02 +10:00
file-misc_test.go Big rename of files and types in storage 2021-05-05 12:05:02 +10:00
file-paths.go Add "no name" handling and storage.NewFileOpts 2021-09-02 10:22:32 +10:00
file-piece.go Big rename of files and types in storage 2021-05-05 12:05:02 +10:00
file.go gofumpt 2021-11-08 14:47:01 +11:00
file_test.go test: use `T.TempDir` to create temporary test directory (#718) 2022-02-02 18:26:46 +11:00
interface.go Change torrent capacity to not return a pointer 2021-09-15 23:33:17 +10:00
issue95_test.go test: use `T.TempDir` to create temporary test directory (#718) 2022-02-02 18:26:46 +11:00
issue96_test.go test: use `T.TempDir` to create temporary test directory (#718) 2022-02-02 18:26:46 +11:00
map-piece-completion.go Add generics TODO 2021-09-02 10:22:32 +10:00
mark-complete_test.go Rework lots of option handling 2021-05-05 21:36:36 +10:00
mmap.go gofumpt 2021-11-08 14:47:01 +11:00
piece-completion.go Default to sqlite piece completion for dir if cgo enabled 2021-05-14 15:51:26 +10:00
piece-resource.go Rework storage.TorrentImpl to support shared capacity key 2021-06-07 13:01:39 +10:00
safe-path.go Fix error handling for bad torrent adds with safe file handling 2020-10-15 16:03:43 +11:00
safe-path_test.go gofumpt 2021-11-08 14:47:01 +11:00
sqlite-piece-completion.go Fix wasm build 2021-12-07 13:08:06 +11:00
storage_test.go Add bolt piece completion DB 2016-10-25 19:07:26 +11:00
wrappers.go Fixes for wasm 2021-06-23 17:24:50 +10:00