diff options
| author | 2026-05-16 08:12:35 +0000 | |
|---|---|---|
| committer | 2026-05-16 08:12:35 +0000 | |
| commit | 784e87df94edc155aca94f1cd4a381d7650982b6 (patch) | |
| tree | 60d49a61f1c11709f0181ff54227efdb318380ba /object/id/algorithm_parse.go | |
| parent | refactor package roadmap (diff) | |
| signature | No signature | |
object/id: Remove more stuff that should belong in other subsystems
Diffstat (limited to 'object/id/algorithm_parse.go')
| -rw-r--r-- | object/id/algorithm_parse.go | 10 |
1 files changed, 1 insertions, 9 deletions
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 |
