root
root
API
merkle
Builder
DiffTree
DiffTree
DLeaf
DNode
DiffOutcome
Added
Modified
Removed
Same
DiffOutcome
Err
Err
CannotParseSerialisedLine
InvalidTreeFormat
NoIDForHasher
NoIDForToBytes
TreesDiverged
UnknownHasherID
UnknownToBytesID
Hasher
Hasher
MessageDigestHasher
MerkleTree
MerkleTree
Leaf
Node
Result
Result
Fail
Ok
ToBytes
ToBytes
Arr
FileContents
FileMtime
Str
TreeMtime
root
/
merkle
/
Result
Result
merkle.Result
See the
Result
companion object
sealed
trait
Result
[
+
A
]
extends
Product
,
Serializable
Attributes
Companion
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
trait
Serializable
trait
Product
trait
Equals
class
Object
trait
Matchable
class
Any
Show all
Known subtypes
class
Fail
class
Ok
[
A
]
Members list
Clear all
Value members
Concrete methods
def
flatMap
[
B
](
f
:
A
=>
Result
[
B
]):
Result
[
B
]
def
fold
[
B
](
ok
:
A
=>
B
,
err
:
Err
=>
B
):
B
def
getOrThrow
(
):
A
def
isErr
:
Boolean
def
map
[
B
](
f
:
A
=>
B
):
Result
[
B
]
def
toEither
:
Either
[
Err
,
A
]
def
toOption
:
Option
[
A
]
Inherited methods
def
productElementName
(
n
:
Int
):
String
Attributes
Inherited from:
Product
def
productElementNames
:
Iterator
[
String
]
Attributes
Inherited from:
Product
def
productIterator
:
Iterator
[
Any
]
Attributes
Inherited from:
Product
def
productPrefix
:
String
Attributes
Inherited from:
Product
Inherited and Abstract methods
def
canEqual
(
that
:
Any
):
Boolean
Attributes
Inherited from:
Equals
def
productArity
:
Int
Attributes
Inherited from:
Product
def
productElement
(
n
:
Int
):
Any
Attributes
Inherited from:
Product
In this article
Attributes
Members list
Value members
Concrete methods
Inherited methods
Inherited and Abstract methods