mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 11:28:24 +00:00 
			
		
		
		
	Use gitrepo.Repository instead of wikipath (#35398)
Now the wikipath will not be referenced directly.
This commit is contained in:
		
							
								
								
									
										14
									
								
								modules/gitrepo/signing.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								modules/gitrepo/signing.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| // Copyright 2025 The Gitea Authors. All rights reserved. | ||||
| // SPDX-License-Identifier: MIT | ||||
|  | ||||
| package gitrepo | ||||
|  | ||||
| import ( | ||||
| 	"context" | ||||
|  | ||||
| 	"code.gitea.io/gitea/modules/git" | ||||
| ) | ||||
|  | ||||
| func GetSigningKey(ctx context.Context, repo Repository) (*git.SigningKey, *git.Signature) { | ||||
| 	return git.GetSigningKey(ctx, repoPath(repo)) | ||||
| } | ||||
		Reference in New Issue
	
	Block a user