forked from TrueCloudLab/restic
Improve comment according to hound guidelines
This commit is contained in:
parent
4ea62ecbcc
commit
aed73be93d
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue