1
0
mirror of https://github.com/restic/restic.git synced 2024-06-28 08:00:52 +02:00

Improve comment according to hound guidelines

This commit is contained in:
Lluís Batlle i Rossell 2016-05-09 14:44:03 +02:00
parent 4ea62ecbcc
commit aed73be93d

View File

@ -622,6 +622,8 @@ func unique(items []string) []string {
return items
}
// BaseNameSlice allows sorting paths by basename.
//
// Snapshots have contents sorted by basename, but we receive full paths.
// For the archivePipe to advance them in pairs, we traverse the given
// paths in the same order as the snapshot.