Discover Packages
github.com/saicharankandukuri/go-git/v5
plumbing
hash
package
Version:
v5.0.0-...-dd3f75c
Opens a new window with list of versions in this module.
Published: Mar 4, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
package hash provides a way for managing the
underlying hash implementations used across go-git.
RegisterHash allows for the hash algorithm used to be overriden.
This ensures the hash selection for go-git must be explicit, when
overriding the default value.
Hash is the same as hash.Hash. This allows consumers
to not having to import this package alongside "hash".
New returns a new Hash for the given hash function.
It panics if the hash function is not registered.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.