mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Make long godoc comment 2 lines
This commit is contained in:
		@@ -43,7 +43,8 @@ func EncodeSha1(str string) string {
 | 
			
		||||
	return hex.EncodeToString(h.Sum(nil))
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// ShortSha is basically just truncating. It is DEPRECATED and will be removed in the future.
 | 
			
		||||
// ShortSha is basically just truncating.
 | 
			
		||||
// It is DEPRECATED and will be removed in the future.
 | 
			
		||||
func ShortSha(sha1 string) string {
 | 
			
		||||
	return TruncateString(sha1, 10)
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user