1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-22 07:34:26 +00:00
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
..
2023-04-17 11:37:23 +08:00
2023-01-05 13:58:51 +02:00
2023-05-10 04:57:06 +00:00
2023-04-24 05:50:58 -04:00
2023-02-18 21:17:39 +02:00
2023-05-08 19:49:59 +08:00
2023-05-08 19:49:59 +08:00
2023-02-11 08:39:50 +08:00
2022-12-30 23:31:00 +08:00
2023-05-08 19:49:59 +08:00
2023-05-12 17:27:50 +00:00