aboutsummaryrefslogtreecommitdiff
path: root/tx.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2015-11-22 20:06:43 -0700
committerBen Johnson <benbjohnson@yahoo.com>2015-11-22 20:06:43 -0700
commit6e1ca38c6a73025366cd8705553b404746ee6e63 (patch)
tree57299e417bddde060f7906c6ddb47c29e145a915 /tx.go
parentMerge pull request #455 from gyuho/boltdb_unix_map_populate (diff)
parentFix typo in comment (diff)
downloaddedo-6e1ca38c6a73025366cd8705553b404746ee6e63.tar.gz
dedo-6e1ca38c6a73025366cd8705553b404746ee6e63.tar.xz
Merge pull request #461 from mark-rushakoff/doc-iterate-buckets
Document iterating over buckets
Diffstat (limited to 'tx.go')
-rw-r--r--tx.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tx.go b/tx.go
index 3273106..d16f9f5 100644
--- a/tx.go
+++ b/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