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.