1
0
Fork 0
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 commit 0a22015039)
This commit is contained in:
Earl Warren 2023-06-29 18:54:40 +02:00
parent b3eaf2249d
commit f1310c38fb
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
15 changed files with 80 additions and 30 deletions

View file

@ -68,7 +68,7 @@ func (o *Topic) FromFormat(topic *format.Topic) {
}
type TopicProvider struct {
g *Forgejo
BaseProvider
}
func (o *TopicProvider) ToFormat(ctx context.Context, topic *Topic) *format.Topic {