mirror of
https://github.com/restic/restic.git
synced 2026-05-05 10:05:24 +00:00
fix comments to have the standard form
This commit is contained in:
+2
-2
@@ -258,13 +258,13 @@ func (k *Key) DecryptFrom(rd io.Reader) (io.ReadCloser, error) {
|
||||
return crypto.DecryptFrom(k.master, rd)
|
||||
}
|
||||
|
||||
// Master() returns the master keys for this repository. Only included for
|
||||
// Master returns the master keys for this repository. Only included for
|
||||
// debug purposes.
|
||||
func (k *Key) Master() *crypto.Key {
|
||||
return k.master
|
||||
}
|
||||
|
||||
// User() returns the user keys for this key. Only included for debug purposes.
|
||||
// User returns the user keys for this key. Only included for debug purposes.
|
||||
func (k *Key) User() *crypto.Key {
|
||||
return k.user
|
||||
}
|
||||
|
||||
@@ -422,12 +422,10 @@ func (s *Server) Flush() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Returns the backend used for this server.
|
||||
func (s *Server) Backend() backend.Backend {
|
||||
return s.be
|
||||
}
|
||||
|
||||
// Returns the index of this server.
|
||||
func (s *Server) Index() *Index {
|
||||
return s.idx
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user