CopyTool
object CopyTool
Type members
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.