1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-27 10:17:58 +00:00

s3: Return only basename in List()

This commit is contained in:
Alexander Neumann 2017-05-31 21:22:55 +02:00
parent fba6211c99
commit 5c59484d2b

View file

@ -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
}