package
Version:
v1.1.6
Opens a new window with list of versions in this module.
Published: Aug 14, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
Code is type for result of Hash method to unify logic around
Hash returns FNV1 hash of string key
String return string version (16-base) of hash code
Index is helper type for internal indexes
Add object's hash to index
Count returns total number of hashed objects in index
Get object's hash and state - same as regular map result
Has returns true if object's hash was found
Remove object's hash from index
type Indexer interface {
Hash() Code
}
Indexer is interface for objects that will be used to build indexes
Source Files
¶
Click to show internal directories.
Click to hide internal directories.