githaven-fork/.github
FuXiaoHei 61ad4c607b
fix minio storage iterator path (#24691)
minio storage iterator shows different behavior with local fs iterator.

in local fs storage:

``` go
s.IterateObjects("prefix", func(path,obj)
     println(path) // show "prefix/xxx.file"
})
```

in minio storage:

```go
s.IterateObjects("prefix", func(path,obj)
     println(path) // show "xxx.file"
})
```

I think local fs is correct, minio use wrong `basePath` to trim storage
path prefix.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2023-05-13 22:33:25 +00:00
..
ISSUE_TEMPLATE update discord invite (#19907) 2022-06-07 11:40:27 -04:00
workflows fix minio storage iterator path (#24691) 2023-05-13 22:33:25 +00:00
FUNDING.yml Kd/add bountysource (#14323) 2021-01-13 10:53:17 -05:00
pull_request_template.md Improve pull_request_template.md (#22888) 2023-02-20 19:14:02 -05:00
stale.yml Improve stale message (#9920) 2020-01-22 12:55:27 +02:00