FedP2P/storage
YenForYang a8db640c62
Drop bradfitz/iter dependency (#605)
* Drop bradfitz/iter dependency

`range iter.N` looks nice and doesn't allocate, but unfortunately using a `range` expression blocks a function from being inlined wherever it's used (for now). It's not that we need inlining in all cases, but I do think a C-style for loop looks just as nice and is probably clearer to the majority. There also aren't any clear disadvantages to changing (unless you just happen to dislike the look of C)

* Update misc_test.go

* Update rlreader_test.go

* Update torrent_test.go

* Update bench_test.go

* Update client_test.go

* Update iplist_test.go

* Update mse_test.go

* Update peerconn_test.go

* Update peerconn.go

* Update order_test.go

* Update decoder_test.go

* Update main.go

* Update bench-piece-mark-complete.go

* Update main.go

* Update torrent.go

* Update iplist_test.go

* Update main.go
2021-09-14 13:46:50 +10:00
..
disabled Add storage/disabled 2021-06-07 13:01:40 +10:00
sqlite Add function to wrap squirrel.Cache as storage.ClientImpl 2021-08-26 11:20:37 +10:00
test Drop bradfitz/iter dependency (#605) 2021-09-14 13:46:50 +10:00
bolt-piece-completion.go Fix go:build directives 2021-07-14 14:35:52 +10:00
bolt-piece-completion_test.go Big rename of files and types in storage 2021-05-05 12:05:02 +10:00
bolt-piece.go Fix go:build directives 2021-07-14 14:35:52 +10:00
bolt.go Fix go:build directives 2021-07-14 14:35:52 +10:00
default-dir-piece-completion-boltdb.go Fixes for wasm 2021-06-23 17:24:50 +10:00
default-dir-piece-completion-other.go Fixes for wasm 2021-06-23 17:24:50 +10:00
default-dir-piece-completion-sqlite.go Added build tags to disable few packages if necessary (#499) 2021-05-25 18:48:59 +10: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 Add "no name" handling and storage.NewFileOpts 2021-09-02 10:22:32 +10:00
file_test.go Fixes for wasm 2021-06-23 17:24:50 +10:00
interface.go Merge branch 'request-strategy-rewrite' 2021-06-21 12:04:06 +10:00
issue95_test.go Resource per piece storage: Store incomplete chunks separately 2020-01-14 10:51:09 +11:00
issue96_test.go Differentiate between storage.ClientImpl{,Closer} 2020-02-21 14:12:44 +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 Add "no name" handling and storage.NewFileOpts 2021-09-02 10:22:32 +10: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 Fix unit tests littering working directory 2021-09-09 12:58:07 +10:00
sqlite-piece-completion.go Return error on sqlite PieceCompletion.Set when closed 2021-09-04 23:07:32 +10: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