2
0
mirror of synced 2025-02-23 22:28:11 +00:00

Replace github.com/boltdb/bolt with github.com/etcd-io/bbolt

This commit is contained in:
Matt Joiner 2019-10-12 11:07:49 +11:00
parent e3420e0b60
commit e7bd5c2991
5 changed files with 7 additions and 3 deletions

2
go.mod
View File

@ -31,3 +31,5 @@ require (
)
go 1.13
replace github.com/boltdb/bolt => github.com/etcd-io/bbolt v1.3.3

2
go.sum
View File

@ -86,6 +86,8 @@ github.com/edsrzf/mmap-go v0.0.0-20170320065105-0bce6a688712 h1:aaQcKT9WumO6JEJc
github.com/edsrzf/mmap-go v0.0.0-20170320065105-0bce6a688712/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M=
github.com/edsrzf/mmap-go v1.0.0 h1:CEBF7HpRnUCSJgGUb5h1Gm7e3VkmVDrR8lvWVLtrOFw=
github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M=
github.com/etcd-io/bbolt v1.3.3 h1:gSJmxrs37LgTqR/oyJBWok6k6SvXEUerFTbltIhXkBM=
github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw=
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd h1:r04MMPyLHj/QwZuMJ5+7tJcBr1AQjpiAK/rZWRrQT7o=

View File

@ -6,7 +6,7 @@ import (
"path/filepath"
"time"
"github.com/boltdb/bolt"
bolt "github.com/boltdb/bolt"
"github.com/anacrolix/torrent/metainfo"
)

View File

@ -4,7 +4,7 @@ import (
"encoding/binary"
"github.com/anacrolix/missinggo/x"
"github.com/boltdb/bolt"
bolt "github.com/boltdb/bolt"
"github.com/anacrolix/torrent/metainfo"
)

View File

@ -6,7 +6,7 @@ import (
"time"
"github.com/anacrolix/missinggo/expect"
"github.com/boltdb/bolt"
bolt "github.com/boltdb/bolt"
"github.com/anacrolix/torrent/metainfo"
)