From 251c3a4d645d9740416fb4300101ca15b2360685 Mon Sep 17 00:00:00 2001 From: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com> Date: Mon, 24 Jun 2019 11:51:49 +0300 Subject: [PATCH] comment Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com> --- fileutil/fileutil.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fileutil/fileutil.go b/fileutil/fileutil.go index 214269401..4088f522a 100644 --- a/fileutil/fileutil.go +++ b/fileutil/fileutil.go @@ -129,7 +129,7 @@ func Rename(from, to string) error { // It is not atomic. func Replace(from, to string) error { // Remove destination only if it is a dir otherwise leave it to os.Rename - // as it replaces the destination when it is file and is atomic. + // as it replaces the destination file and is atomic. { f, err := os.Stat(to) if !os.IsNotExist(err) {