mirror of https://github.com/hak5/bolt.git
Fix typo in comment
parent
e991375cad
commit
9ee1aea61b
2
tx.go
2
tx.go
|
@ -271,7 +271,7 @@ func (tx *Tx) close() {
|
|||
}
|
||||
|
||||
// Copy writes the entire database to a writer.
|
||||
// This function exists for backwards compatibility. Use WriteTo() in
|
||||
// This function exists for backwards compatibility. Use WriteTo() instead.
|
||||
func (tx *Tx) Copy(w io.Writer) error {
|
||||
_, err := tx.WriteTo(w)
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue