kubo/pin
Kevin Atkinson efeb789878 Check for multiple pinned blocks in a single pass.
Provide a new method, Pinner.CheckIfPinned(), which will check if
any of the arguments are pinned.  Previously IsPinned would need to be
called once for each block.  The new method will speed up the checking
of multiple pinned blocks from O(p*n) to O(p) (where p is the number
of pinned blocks and n is the number of blocks to be check)

Use the new method in "block rm".

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-08-15 13:17:43 -04:00
..
gc Update go-log in whole dependency tree (#2898) 2016-06-24 09:38:07 -07:00
internal/pb remove gogo-protobuf from godeps, use gx vendored 2016-02-12 17:21:40 -08:00
indirect.go pin: Rewrite to store pins in IPFS objects 2016-01-12 08:21:13 -08:00
pin_test.go use batching datastore for providers storage 2016-07-26 10:48:25 -07:00
pin.go Check for multiple pinned blocks in a single pass. 2016-08-15 13:17:43 -04:00
set_test.go use batching datastore for providers storage 2016-07-26 10:48:25 -07:00
set.go cache encoded data when reading dag nodes from disk 2016-07-10 13:13:35 -07:00