1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-16 00:00:05 +01:00

Fix comment style

This commit is contained in:
jayme-github 2016-12-12 13:46:01 +01:00
parent 88914d701a
commit 218778d212

View file

@ -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")