diff options
Diffstat (limited to 'object/id/algorithm_parse.go')
| -rw-r--r-- | object/id/algorithm_parse.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/object/id/algorithm_parse.go b/object/id/algorithm_parse.go deleted file mode 100644 index d5fb0c64..00000000 --- a/object/id/algorithm_parse.go +++ /dev/null @@ -1,8 +0,0 @@ -package objectid - -// ParseAlgorithm parses a canonical algorithm name (e.g. "sha1", "sha256"). -func ParseAlgorithm(s string) (Algorithm, bool) { - algo, ok := algorithmByName[s] - - return algo, ok -} |
