ManagedFileStorage

tasks.fileservice.ManagedFileStorage

Attributes

Experimental
true
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def contains(path: ManagedFilePath, size: Long, hash: Int): IO[Boolean]
def contains(path: ManagedFilePath, retrieveSizeAndHash: Boolean): IO[Option[SharedFile]]
def delete(path: ManagedFilePath, expectedSize: Long, expectedHash: Int): IO[Boolean]
def exportFile(path: ManagedFilePath): Resource[IO, File]
def sharedFolder(prefix: Seq[String]): IO[Option[File]]
def sink(path: ProposedManagedFilePath): (IO, Byte) => (Long, Int, ManagedFilePath)
def stream(path: ManagedFilePath, fromOffset: Long): Stream[IO, Byte]
def uri(mp: ManagedFilePath): IO[Uri]

Concrete methods

def importFile(f: File, path: ProposedManagedFilePath, canMove: Boolean): IO[(Long, Int, ManagedFilePath)]