mirror of
https://github.com/restic/restic.git
synced 2024-12-28 02:38:33 +00:00
s3: Return only basename in List()
This commit is contained in:
parent
fba6211c99
commit
5c59484d2b
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ func (be *s3) List(t restic.FileType, done <-chan struct{}) <-chan string {
|
||||||
}
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
case ch <- m:
|
case ch <- path.Base(m):
|
||||||
case <-done:
|
case <-done:
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue