mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-08 17:03:44 +00:00
16 lines
371 B
Go
16 lines
371 B
Go
|
// Copyright 2024 The Forgejo Authors c/o Codeberg e.V.. All rights reserved.
|
||
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
package asymkey
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"code.gitea.io/gitea/modules/git"
|
||
|
)
|
||
|
|
||
|
func ParseTagWithSignature(ctx context.Context, gitRepo *git.Repository, t *git.Tag) *ObjectVerification {
|
||
|
o := tagToGitObject(t, gitRepo)
|
||
|
return ParseObjectWithSignature(ctx, &o)
|
||
|
}
|