NameHashing

xsbt.api.NameHashing
See theNameHashing companion object
class NameHashing(optimizedSealed: Boolean)

A class that computes hashes for each group of definitions grouped by a simple name.

See nameHashes method for details.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def nameHashes(classApi: ClassLike): Array[NameHash]

This method takes an API representation and extracts a flat collection of all definitions contained in that API representation. Then it groups definition by a simple name. Lastly, it computes a hash sum of all definitions in a single group.

This method takes an API representation and extracts a flat collection of all definitions contained in that API representation. Then it groups definition by a simple name. Lastly, it computes a hash sum of all definitions in a single group.

NOTE: The hashing sum used for hashing a group of definition is insensitive to order of definitions.

Attributes