CopyTool

object CopyTool
class Object
trait Matchable
class Any

Type members

Classlikes

final case class Counter(success: Int, exist: Int, notFound: Int, failed: Set[BinaryId])
Companion:
object
object Counter
Companion:
class

Value members

Concrete methods

def copyAll[F[_] : Async](logger: Logger[F], from: BinaryStore[F], to: BinaryStore[F], chunkSize: Int, maxConcurrent: Int): F[Counter]

Goes through all binary-ids in from and inserts each into to.

Goes through all binary-ids in from and inserts each into to.

def copyFile[F[_] : Sync](id: BinaryId, from: BinaryStore[F], to: BinaryStore[F], logger: Logger[F]): F[Counter]

Copies the file given by id from from to to, if it doesn't exists there.

Copies the file given by id from from to to, if it doesn't exists there.