From b6601b1b6beddfde69ff6b9b3d3a1442978eb516 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Fri, 6 Dec 2013 09:19:00 -0500 Subject: [PATCH] Remove some TODOs that have been finished. --- disksync.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/disksync.go b/disksync.go index 4cc3ef9..6f16cd0 100644 --- a/disksync.go +++ b/disksync.go @@ -147,8 +147,6 @@ func (a *Account) writeDirtyToDisk() error { } tmpfile.Close() - // TODO(jrick): this should be atomic on *nix, but is not on - // Windows. Use _windows.go to provide atomic renames. if err = Rename(tmpfilepath, utxofilepath); err != nil { return err } @@ -173,8 +171,6 @@ func (a *Account) writeDirtyToDisk() error { } tmpfile.Close() - // TODO(jrick): this should be atomic on *nix, but is not on - // Windows. Use _windows.go to provide atomic renames. if err = Rename(tmpfilepath, txfilepath); err != nil { return err } @@ -199,8 +195,6 @@ func (a *Account) writeDirtyToDisk() error { } tmpfile.Close() - // TODO(jrick): this should be atomic on *nix, but is not on - // Windows. Use _windows.go to provide atomic renames. if err = Rename(tmpfilepath, wfilepath); err != nil { return err }