Discover Packages
git.luolix.top/thought-machine/please
src
cache
tools
package
Version:
v13.3.2+incompatible
Opens a new window with list of versions in this module.
Published: Dec 17, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types AlternateHash(h) Hash(h) HashPoint(i, n)
Documentation
¶
AlternateHash returns the alternate point in our hash space for a given artifact hash,
i.e. on the second node we'd replicate it to.
Hash returns the point in our hash space for a given artifact hash.
HashPoint returns a point in our hash space for the ith of n nodes.
Note that it is quite important that both client and server agree
about the implementation of this function.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.