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:
parent
b3eaf2249d
commit
f1310c38fb
15 changed files with 80 additions and 30 deletions
|
@ -76,8 +76,7 @@ func (o *Label) FromFormat(label *format.Label) {
|
|||
}
|
||||
|
||||
type LabelProvider struct {
|
||||
g *Forgejo
|
||||
project *ProjectProvider
|
||||
BaseProviderWithProjectProvider
|
||||
}
|
||||
|
||||
func (o *LabelProvider) ToFormat(ctx context.Context, label *Label) *format.Label {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue