1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-09 19:32:24 +08:00

Simplify Pinner interface by folding ManualPinner into Pinner

Pinner had method GetManual that returned a ManualPinner, so every
Pinner had to implement ManualPinner anyway.

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
Tommi Virtanen
2015-05-08 11:00:55 -07:00
committed by Jeromy
parent c4d2988c11
commit c9ce2e724a
12 changed files with 38 additions and 45 deletions

View File

@ -125,7 +125,7 @@ func arrComp(a, b []byte) error {
type dagservAndPinner struct {
ds merkledag.DAGService
mp pin.ManualPinner
mp pin.Pinner
}
func TestIndirectBlocks(t *testing.T) {