From aed73be93d33c6dd9026d7641430b41feea3038c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 9 May 2016 14:44:03 +0200 Subject: [PATCH] Improve comment according to hound guidelines --- src/restic/archiver.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/restic/archiver.go b/src/restic/archiver.go index 967665f36..96d1e7977 100644 --- a/src/restic/archiver.go +++ b/src/restic/archiver.go @@ -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.