ToBytes

merkle.ToBytes
See theToBytes companion class
object ToBytes

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ToBytes.type

Members list

Type members

Classlikes

case object Arr extends ToBytes[Array[Byte]]

Instance that hashes arbitrary array of bytes. When serialised, the array is written in base64 encoding

Instance that hashes arbitrary array of bytes. When serialised, the array is written in base64 encoding

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
class ToBytes[Array[Byte]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Arr.type
case object FileContents extends ToBytes[Path]

A ToBytes instance that hashes the full file contents of a Path

A ToBytes instance that hashes the full file contents of a Path

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
class ToBytes[Path]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object FileMtime extends ToBytes[Path]

A ToBytes instance that hashes the file modification time of a Path

A ToBytes instance that hashes the file modification time of a Path

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
class ToBytes[Path]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
FileMtime.type
case object Str extends ToBytes[String]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
class ToBytes[String]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Str.type
case object TreeMtime extends ToBytes[Path]

A ToBytes instance that visits all the subpaths of a given Path and hashes the most recent modification time of all the paths

A ToBytes instance that visits all the subpaths of a given Path and hashes the most recent modification time of all the paths

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
class ToBytes[Path]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
TreeMtime.type

Value members

Concrete methods

def toStringID(tag: ToBytes[Any]): Option[String]