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:
parent
88914d701a
commit
218778d212
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue