mirror of
https://github.com/muun/recovery.git
synced 2025-11-12 23:01:40 -05:00
fix vendor folder
This commit is contained in:
9
vendor/github.com/btcsuite/btcwallet/walletdb/bdb/doc.go
generated
vendored
9
vendor/github.com/btcsuite/btcwallet/walletdb/bdb/doc.go
generated
vendored
@@ -9,15 +9,16 @@ datastore.
|
||||
Usage
|
||||
|
||||
This package is only a driver to the walletdb package and provides the database
|
||||
type of "bdb". The only parameter the Open and Create functions take is the
|
||||
database path as a string:
|
||||
type of "bdb". The only parameters the Open and Create functions take is the
|
||||
database path as a string, and an option for the database to not sync its
|
||||
freelist to disk as a bool:
|
||||
|
||||
db, err := walletdb.Open("bdb", "path/to/database.db")
|
||||
db, err := walletdb.Open("bdb", "path/to/database.db", true)
|
||||
if err != nil {
|
||||
// Handle error
|
||||
}
|
||||
|
||||
db, err := walletdb.Create("bdb", "path/to/database.db")
|
||||
db, err := walletdb.Create("bdb", "path/to/database.db", true)
|
||||
if err != nil {
|
||||
// Handle error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user