diff options
| author | 2026-03-28 13:07:55 +0000 | |
|---|---|---|
| committer | 2026-03-28 13:07:55 +0000 | |
| commit | a4bbec5a9b01c48dcbfd13519e6bae7fcffec449 (patch) | |
| tree | 612df31c4fd32c4c3271f2c1360f5593926e4f70 /repository/algorithm.go | |
| parent | repository, README: Fix fetcher/resolver naming (diff) | |
| signature | No signature | |
repository: Unify docs
Diffstat (limited to 'repository/algorithm.go')
| -rw-r--r-- | repository/algorithm.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/repository/algorithm.go b/repository/algorithm.go index 90ce188c..1098f0b8 100644 --- a/repository/algorithm.go +++ b/repository/algorithm.go @@ -7,6 +7,8 @@ import ( objectid "codeberg.org/lindenii/furgit/object/id" ) +// detectObjectAlgorithm uses a repository's configuration to detect +// the expected Object ID hashing algorithm. func detectObjectAlgorithm(cfg *config.Config) (objectid.Algorithm, error) { algoName := cfg.Lookup("extensions", "", "objectformat").Value if algoName == "" { |
