FileConnector
trait FileConnector
Value members
Abstract methods
Will fail for non empty directories. For that use case use deletePathRecursively
Will fail for non empty directories. For that use case use deletePathRecursively
def movePathZIO(locator: Path => ZIO[Any, IOException, Path])(implicit trace: Trace): ZSink[Any, IOException, Path, Nothing, Unit]
def tailPathUsingWatchService(path: => Path, freq: => Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
Concrete methods
final def deleteFileNameRecursively(implicit trace: Trace): ZSink[Any, IOException, String, Nothing, Unit]
final def deleteFileRecursively(implicit trace: Trace): ZSink[Any, IOException, File, Nothing, Unit]
final def moveFileZIO(locator: File => ZIO[Any, IOException, File])(implicit trace: Trace): ZSink[Any, IOException, File, Nothing, Unit]
final def moveURIZIO(locator: URI => ZIO[Any, IOException, URI])(implicit trace: Trace): ZSink[Any, IOException, URI, Nothing, Unit]
final def tailFileUsingWatchService(file: => File, freq: => Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
final def tailURIUsingWatchService(uri: => URI, freq: => Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
final def tempDirFileNameIn(dirName: => String)(implicit trace: Trace): ZStream[Any, IOException, String]
final def tempFileNameIn(dirName: => String)(implicit trace: Trace): ZStream[Any, IOException, String]