diff options
Diffstat (limited to 'object/id/algorithm.go')
| -rw-r--r-- | object/id/algorithm.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/object/id/algorithm.go b/object/id/algorithm.go new file mode 100644 index 00000000..a695889c --- /dev/null +++ b/object/id/algorithm.go @@ -0,0 +1,12 @@ +package objectid + +//#nosec gosec + +// Algorithm identifies the hash algorithm used for Git object IDs. +type Algorithm uint8 + +const ( + AlgorithmUnknown Algorithm = iota + AlgorithmSHA1 + AlgorithmSHA256 +) |
