2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-23 11:28:54 +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 return items
} }
// BaseNameSlice allows sorting paths by basename.
//
// Snapshots have contents sorted by basename, but we receive full paths. // Snapshots have contents sorted by basename, but we receive full paths.
// For the archivePipe to advance them in pairs, we traverse the given // For the archivePipe to advance them in pairs, we traverse the given
// paths in the same order as the snapshot. // paths in the same order as the snapshot.