2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-04 12:34:13 +00:00

Add comment

This commit is contained in:
Alexander Neumann 2016-01-23 23:27:40 +01:00
parent 0b50f9e02c
commit 10b03eee27

View File

@ -225,6 +225,7 @@ func (k *Key) String() string {
return fmt.Sprintf("<Key of %s@%s, created on %s>", k.Username, k.Hostname, k.Created) return fmt.Sprintf("<Key of %s@%s, created on %s>", k.Username, k.Hostname, k.Created)
} }
// Name returns an identifier for the key.
func (k Key) Name() string { func (k Key) Name() string {
return k.name return k.name
} }