mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-15 18:56:59 +00:00
[F3] add GetLocalMatchingRemote with a default implementation
(cherry picked from commit0a22015039
) (cherry picked from commitf1310c38fb
)
This commit is contained in:
parent
d492ddd9bb
commit
deb68552f2
15 changed files with 80 additions and 30 deletions
|
@ -82,7 +82,7 @@ func (o *Asset) FromFormat(asset *format.ReleaseAsset) {
|
|||
}
|
||||
|
||||
type AssetProvider struct {
|
||||
g *Forgejo
|
||||
BaseProvider
|
||||
}
|
||||
|
||||
func (o *AssetProvider) ToFormat(ctx context.Context, asset *Asset) *format.ReleaseAsset {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue