Patch

io.bullet.spliff.Diff.Patch
See thePatch companion class
object Patch

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Patch.type

Members list

Type members

Classlikes

final case class BaseSizeMismatch(actualSize: Int, expectedSize: Int) extends Failure

Attributes

Supertypes
trait Product
trait Equals
class Failure
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed abstract class Failure(msg: String) extends RuntimeException

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class Insert[T](baseIx: Int, values: ArraySeq[T]) extends Step[T]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Step[T]
class Object
trait Matchable
class Any
Show all
case object IntegrityFailure extends Failure

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Failure
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
sealed trait Step[+T]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Delete
class Move
class Insert[T]

Types

type Delete = Delete
type Move = Move

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[T](baseSize: Int, steps: ArraySeq[Step[T]]): Patch[T]

Creates a Patch only from the baseSize and the steps. The targetSize is derived from the steps.

Creates a Patch only from the baseSize and the steps. The targetSize is derived from the steps.

Attributes

Concrete fields

val Delete: Delete.type
val Move: Move.type

Implicits

Implicits

implicit def ordering[T]: Ordering[Step[T]]