CmdDecoder

com.geirolz.git4s.codec.CmdDecoder
See theCmdDecoder companion trait

Attributes

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

Members list

Type members

Types

type Result[T] = Either[DecodingFailure, T]

Value members

Concrete methods

inline def apply[F[_], T](using d: CmdDecoder[F, T]): CmdDecoder[F, T]
inline def const[F[_] : Async, T](result: Result[T]): CmdDecoder[F, T]
inline def failed[F[_] : Async, T](e: DecodingFailure): CmdDecoder[F, T]
def instance[F[_] : Async, T](pipe: (F, String) => Result[T]): CmdDecoder[F, T]
def lines[F[_] : Async, T](pipe: (F, String) => Result[T]): CmdDecoder[F, T]
inline def success[F[_] : Async, T](t: T): CmdDecoder[F, T]

Givens

Inherited givens

given text[F[_] : Async]: CmdDecoder[F, String]

Attributes

Inherited from:
ProcessDecoderInstances
given unit[F[_] : Async]: CmdDecoder[F, Unit]

Attributes

Inherited from:
ProcessDecoderInstances