mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-30 14:01:02 +00:00 
			
		
		
		
	`CommitGPGSignature` was originally made to store information about a commit's GPG signature. Nowadays, it is used to store information about SSH signatures too, and not just commit signatures, but tag signatures too. As such, rename it to `ObjectSignature`, because that describes what it does a whole lot better. Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			401 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			401 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Copyright 2015 The Gogs Authors. All rights reserved.
 | |
| // Copyright 2019 The Gitea Authors. All rights reserved.
 | |
| // SPDX-License-Identifier: MIT
 | |
| 
 | |
| package git
 | |
| 
 | |
| // ObjectSignature represents a git object (commit, tag) signature part.
 | |
| type ObjectSignature struct {
 | |
| 	Signature string
 | |
| 	Payload   string // TODO check if can be reconstruct from the rest of commit information to not have duplicate data
 | |
| }
 |