diff options
| author | 2026-03-25 14:30:31 +0000 | |
|---|---|---|
| committer | 2026-03-25 14:30:31 +0000 | |
| commit | bfa0a3f5f18b752a6ebd3d5b37411c6871f7bb17 (patch) | |
| tree | 8ee2479273e2b34d284c30703c2be48efe197556 /object/store/memory/algorithm.go | |
| parent | *: Resort import order (diff) | |
| signature | No signature | |
*: objectstore -> object/store
Diffstat (limited to 'object/store/memory/algorithm.go')
| -rw-r--r-- | object/store/memory/algorithm.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/object/store/memory/algorithm.go b/object/store/memory/algorithm.go new file mode 100644 index 00000000..bf7f3a82 --- /dev/null +++ b/object/store/memory/algorithm.go @@ -0,0 +1,8 @@ +package memory + +import objectid "codeberg.org/lindenii/furgit/object/id" + +// Algorithm returns the object ID algorithm used by the store. +func (store *Store) Algorithm() objectid.Algorithm { + return store.algo +} |
