FileConnector

class Object
trait Matchable
class Any

Value members

Abstract methods

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

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

Concrete methods

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