2
2
mirror of https://github.com/octoleo/restic.git synced 2024-09-21 03:29:00 +00: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.