binny

package binny

Type members

Classlikes

sealed trait AttributeName
Companion:
object
Companion:
class
object Binary
final case class BinaryAttributes(sha256: ByteVector, contentType: SimpleContentType, length: Long)

Basic attributes of binary data.

Basic attributes of binary data.

Companion:
object
Companion:
class
final class BinaryId extends AnyVal
Companion:
object
object BinaryId
Companion:
class
trait BinaryStore[F[_]]
Companion:
object
Companion:
class
case object BuildInfo

This object was generated by sbt-buildinfo.

This object was generated by sbt-buildinfo.

sealed trait ByteRange
Companion:
object
object ByteRange
Companion:
class
sealed trait ChunkDef

A chunk is defined by its index and either the total amount of chunks, or the total length of the file.

A chunk is defined by its index and either the total amount of chunks, or the total length of the file.

Companion:
object
object ChunkDef
Companion:
class
trait ChunkedBinaryStore[F[_]] extends BinaryStore[F]

A BinaryStore that can also store chunks out of order.

A BinaryStore that can also store chunks out of order.

A way to detect the content type of some bytes.

A way to detect the content type of some bytes.

Companion:
object
Companion:
class
object CopyTool
final case class Hint(filename: Option[String], advertisedType: Option[String])
Companion:
object
object Hint
Companion:
class
sealed trait InsertChunkResult
Companion:
object
Companion:
class
final class SimpleContentType extends AnyVal

A content type as a String. A proper model for content types is beyond the scope of this library

A content type as a String. A proper model for content types is beyond the scope of this library

Companion:
object
Companion:
class

Types

type Binary[F[_]] = Stream[F, Byte]
type ComputeAttr[F[_]] = Kleisli[[_] =>> OptionT[F, _$6], AttributeNameSet, BinaryAttributes]

A function to compute attributes to a binary. It is possible to specify what information to request, so implementations can skip potentially expensive calls.

A function to compute attributes to a binary. It is possible to specify what information to request, so implementations can skip potentially expensive calls.