diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2018-03-02 11:00:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-02 11:00:52 -0700 |
commit | fd01fc79c553a8e99d512a07e8e0c63d4a3ccfc5 (patch) | |
tree | d961efd231f31c913e65a09c71d3bb5b776cdb18 | |
parent | Merge pull request #736 from tv42/silly-if (diff) | |
parent | add tx-copy-deprecated (diff) | |
download | dedo-fd01fc79c553a8e99d512a07e8e0c63d4a3ccfc5.tar.gz dedo-fd01fc79c553a8e99d512a07e8e0c63d4a3ccfc5.tar.xz |
Merge pull request #748 from Chyroc/add/tx-copy-deprecated
add tx-copy-deprecated
-rw-r--r-- | tx.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -291,7 +291,9 @@ func (tx *Tx) close() { } // Copy writes the entire database to a writer. -// This function exists for backwards compatibility. Use WriteTo() instead. +// This function exists for backwards compatibility. +// +// Deprecated; Use WriteTo() instead. func (tx *Tx) Copy(w io.Writer) error { _, err := tx.WriteTo(w) return err |