From 218778d212f7ebd0b9a21dbe13fffdf4645a4e9e Mon Sep 17 00:00:00 2001 From: jayme-github Date: Mon, 12 Dec 2016 13:46:01 +0100 Subject: [PATCH] Fix comment style --- src/restic/backend/paths.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/restic/backend/paths.go b/src/restic/backend/paths.go index 083f04409..8b518be46 100644 --- a/src/restic/backend/paths.go +++ b/src/restic/backend/paths.go @@ -30,7 +30,7 @@ var Paths = struct { // backends. var Modes = struct{ Dir, File os.FileMode }{0700, 0600} -// Construct default directory for given FileType. +// Dirname constructs the default directory for given FileType. func Dirname(base string, t restic.FileType, name string) string { var n string switch t { @@ -51,7 +51,7 @@ func Dirname(base string, t restic.FileType, name string) string { return filepath.Join(base, n) } -// Construct default path for given FileType and name. +// Filename constructs the default path for given FileType and name. func Filename(base string, t restic.FileType, name string) string { if t == restic.ConfigFile { return filepath.Join(base, "config")