mirror of
https://github.com/restic/restic.git
synced 2025-08-22 07:07:26 +00:00
s3: Return only basename in List()
This commit is contained in:
@@ -386,7 +386,7 @@ func (be *s3) List(t restic.FileType, done <-chan struct{}) <-chan string {
|
||||
}
|
||||
|
||||
select {
|
||||
case ch <- m:
|
||||
case ch <- path.Base(m):
|
||||
case <-done:
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user