From 784e87df94edc155aca94f1cd4a381d7650982b6 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 16 May 2026 08:12:35 +0000 Subject: object/id: Remove more stuff that should belong in other subsystems --- object/id/algorithm_parse.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'object/id/algorithm_parse.go') diff --git a/object/id/algorithm_parse.go b/object/id/algorithm_parse.go index 63db32dc..271c3e60 100644 --- a/object/id/algorithm_parse.go +++ b/object/id/algorithm_parse.go @@ -5,12 +5,4 @@ func ParseAlgorithm(s string) (Algorithm, bool) { algo, ok := algorithmByName[s] return algo, ok -} - -// ParseSignatureHeaderName parses one canonical signature header name -// such as "gpgsig" or "gpgsig-sha256" to its respective algorithm. -func ParseSignatureHeaderName(s string) (Algorithm, bool) { - algo, ok := algorithmBySignatureHeaderName[s] - - return algo, ok -} +} \ No newline at end of file -- cgit v1.3.1-10-gc9f91