LiveFileConnector

final case class LiveFileConnector() extends FileConnector
Companion:
object
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def deletePath(implicit trace: Trace): ZSink[Any, IOException, Path, Nothing, Unit]

Will fail for non empty directories. For that use case use deletePathRecursively

Will fail for non empty directories. For that use case use deletePathRecursively

Definition Classes
override def deletePathRecursively(implicit trace: Trace): ZSink[Any, IOException, Path, Nothing, Unit]
Definition Classes
def existsPath(implicit trace: Trace): ZSink[Any, IOException, Path, Path, Boolean]
override def listPath(path: => Path)(implicit trace: Trace): ZStream[Any, IOException, Path]
Definition Classes
override def movePathZIO(locator: Path => ZIO[Any, IOException, Path])(implicit trace: Trace): ZSink[Any, IOException, Path, Nothing, Unit]
Definition Classes
override def readPath(path: => Path)(implicit trace: Trace): ZStream[Any, IOException, Byte]
Definition Classes
override def tailPath(path: => Path, freq: => Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
Definition Classes
override def tailPathUsingWatchService(path: => Path, freq: => Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
Definition Classes
override def tempDirPath(implicit trace: Trace): ZStream[Any, IOException, Path]
Definition Classes
override def tempDirPathIn(dirPath: => Path)(implicit trace: Trace): ZStream[Any, IOException, Path]
Definition Classes
override def tempPath(implicit trace: Trace): ZStream[Any, IOException, Path]
Definition Classes
override def tempPathIn(dirPath: => Path)(implicit trace: Trace): ZStream[Any, IOException, Path]
Definition Classes
override def writePath(path: => Path)(implicit trace: Trace): Sink[IOException, Byte, Nothing, Unit]
Definition Classes

Inherited methods

final def deleteFile(implicit trace: Trace): ZSink[Any, IOException, File, Nothing, Unit]
Inherited from:
FileConnector
final def deleteFileName(implicit trace: Trace): ZSink[Any, IOException, String, Nothing, Unit]
Inherited from:
FileConnector
final def deleteFileNameRecursively(implicit trace: Trace): ZSink[Any, IOException, String, Nothing, Unit]
Inherited from:
FileConnector
final def deleteFileRecursively(implicit trace: Trace): ZSink[Any, IOException, File, Nothing, Unit]
Inherited from:
FileConnector
final def deleteURI(implicit trace: Trace): ZSink[Any, IOException, URI, Nothing, Unit]
Inherited from:
FileConnector
final def deleteURIRecursively(implicit trace: Trace): ZSink[Any, IOException, URI, Nothing, Unit]
Inherited from:
FileConnector
final def existsFile(implicit trace: Trace): ZSink[Any, IOException, File, File, Boolean]
Inherited from:
FileConnector
final def existsFileName(implicit trace: Trace): ZSink[Any, IOException, String, String, Boolean]
Inherited from:
FileConnector
final def existsURI(implicit trace: Trace): ZSink[Any, IOException, URI, URI, Boolean]
Inherited from:
FileConnector
final def listFile(file: => File)(implicit trace: Trace): ZStream[Any, IOException, File]
Inherited from:
FileConnector
final def listFileName(name: => String)(implicit trace: Trace): ZStream[Any, IOException, String]
Inherited from:
FileConnector
final def listURI(uri: => URI)(implicit trace: Trace): ZStream[Any, IOException, URI]
Inherited from:
FileConnector
final def moveFile(locator: File => File)(implicit trace: Trace): ZSink[Any, IOException, File, Nothing, Unit]
Inherited from:
FileConnector
final def moveFileName(locator: String => String)(implicit trace: Trace): ZSink[Any, IOException, String, Nothing, Unit]
Inherited from:
FileConnector
final def moveFileNameZIO(locator: String => ZIO[Any, IOException, String])(implicit trace: Trace): ZSink[Any, IOException, String, Nothing, Unit]
Inherited from:
FileConnector
final def moveFileZIO(locator: File => ZIO[Any, IOException, File])(implicit trace: Trace): ZSink[Any, IOException, File, Nothing, Unit]
Inherited from:
FileConnector
final def movePath(locator: Path => Path)(implicit trace: Trace): ZSink[Any, IOException, Path, Nothing, Unit]
Inherited from:
FileConnector
final def moveURI(locator: URI => URI)(implicit trace: Trace): ZSink[Any, IOException, URI, Nothing, Unit]
Inherited from:
FileConnector
final def moveURIZIO(locator: URI => ZIO[Any, IOException, URI])(implicit trace: Trace): ZSink[Any, IOException, URI, Nothing, Unit]
Inherited from:
FileConnector
Inherited from:
Product
final def readFile(file: => File)(implicit trace: Trace): ZStream[Any, IOException, Byte]
Inherited from:
FileConnector
final def readFileName(name: => String)(implicit trace: Trace): ZStream[Any, IOException, Byte]
Inherited from:
FileConnector
final def readURI(uri: => URI)(implicit trace: Trace): ZStream[Any, IOException, Byte]
Inherited from:
FileConnector
final def tailFile(file: => File, freq: => Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
Inherited from:
FileConnector
final def tailFileName(name: => String, freq: => Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
Inherited from:
FileConnector
final def tailFileNameUsingWatchService(fileName: => String, freq: => Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
Inherited from:
FileConnector
final def tailFileUsingWatchService(file: => File, freq: => Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
Inherited from:
FileConnector
final def tailURI(uri: => URI, freq: => Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
Inherited from:
FileConnector
final def tailURIUsingWatchService(uri: => URI, freq: => Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
Inherited from:
FileConnector
final def tempDirFile(implicit trace: Trace): ZStream[Any, IOException, File]
Inherited from:
FileConnector
final def tempDirFileIn(dirFile: => File)(implicit trace: Trace): ZStream[Any, IOException, File]
Inherited from:
FileConnector
final def tempDirFileName(implicit trace: Trace): ZStream[Any, IOException, String]
Inherited from:
FileConnector
final def tempDirFileNameIn(dirName: => String)(implicit trace: Trace): ZStream[Any, IOException, String]
Inherited from:
FileConnector
final def tempDirURI(implicit trace: Trace): ZStream[Any, IOException, URI]
Inherited from:
FileConnector
final def tempDirURIIn(dirURI: => URI)(implicit trace: Trace): ZStream[Any, IOException, URI]
Inherited from:
FileConnector
final def tempFile(implicit trace: Trace): ZStream[Any, IOException, File]
Inherited from:
FileConnector
final def tempFileIn(dirFile: => File)(implicit trace: Trace): ZStream[Any, IOException, File]
Inherited from:
FileConnector
final def tempFileName(implicit trace: Trace): ZStream[Any, IOException, String]
Inherited from:
FileConnector
final def tempFileNameIn(dirName: => String)(implicit trace: Trace): ZStream[Any, IOException, String]
Inherited from:
FileConnector
final def tempURI(implicit trace: Trace): ZStream[Any, IOException, URI]
Inherited from:
FileConnector
final def tempURIIn(dirURI: => URI)(implicit trace: Trace): ZStream[Any, IOException, URI]
Inherited from:
FileConnector
final def writeFile(file: => File)(implicit trace: Trace): ZSink[Any, IOException, Byte, Nothing, Unit]
Inherited from:
FileConnector
final def writeFileName(name: => String)(implicit trace: Trace): ZSink[Any, IOException, Byte, Nothing, Unit]
Inherited from:
FileConnector
final def writeURI(uri: => URI)(implicit trace: Trace): ZSink[Any, IOException, Byte, Nothing, Unit]
Inherited from:
FileConnector

Concrete fields

lazy val BUFFER_SIZE: Int
lazy val EVENT_NAME: String