Packages

package file

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. file
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait FileConnector extends AnyRef
  2. case class LiveFileConnector() extends FileConnector with Product with Serializable

Value Members

  1. def deleteFile(implicit trace: Trace): ZSink[FileConnector, IOException, File, Nothing, Unit]
  2. def deleteFileName(implicit trace: Trace): ZSink[FileConnector, IOException, String, Nothing, Unit]
  3. def deletePath(implicit trace: Trace): ZSink[FileConnector, IOException, Path, Nothing, Unit]
  4. def deleteRecursivelyFile(implicit trace: Trace): ZSink[FileConnector, IOException, File, Nothing, Unit]
  5. def deleteRecursivelyFileName(implicit trace: Trace): ZSink[FileConnector, IOException, String, Nothing, Unit]
  6. def deleteRecursivelyPath(implicit trace: Trace): ZSink[FileConnector, IOException, Path, Nothing, Unit]
  7. def deleteRecursivelyURI(implicit trace: Trace): ZSink[FileConnector, IOException, URI, Nothing, Unit]
  8. def deleteURI(implicit trace: Trace): ZSink[FileConnector, IOException, URI, Nothing, Unit]
  9. def existsFile(file: File)(implicit trace: Trace): ZSink[FileConnector, IOException, Any, Nothing, Boolean]
  10. def existsFileName(name: String)(implicit trace: Trace): ZSink[FileConnector, IOException, Any, Nothing, Boolean]
  11. def existsPath(path: Path)(implicit trace: Trace): ZSink[FileConnector, IOException, Any, Nothing, Boolean]
  12. def existsURI(uri: URI)(implicit trace: Trace): ZSink[FileConnector, IOException, Any, Nothing, Boolean]
  13. def listFile(file: ⇒ File): ZStream[FileConnector, IOException, File]
  14. def listFileName(name: ⇒ String): ZStream[FileConnector, IOException, String]
  15. def listPath(path: ⇒ Path): ZStream[FileConnector, IOException, Path]
  16. def listURI(uri: ⇒ URI): ZStream[FileConnector, IOException, URI]
  17. val live: ZLayer[Scope, Nothing, FileConnector]
  18. def moveFile(locator: (File) ⇒ File)(implicit trace: Trace): ZSink[FileConnector, IOException, File, Nothing, Unit]
  19. def moveFileName(locator: (String) ⇒ String)(implicit trace: Trace): ZSink[FileConnector, IOException, String, Nothing, Unit]
  20. def moveFileNameZIO(locator: (String) ⇒ ZIO[Any, IOException, String])(implicit trace: Trace): ZSink[FileConnector, IOException, String, Nothing, Unit]
  21. def moveFileZIO(locator: (File) ⇒ ZIO[Any, IOException, File])(implicit trace: Trace): ZSink[FileConnector, IOException, File, Nothing, Unit]
  22. def movePath(locator: (Path) ⇒ Path)(implicit trace: Trace): ZSink[FileConnector, IOException, Path, Nothing, Unit]
  23. def movePathZIO(locator: (Path) ⇒ ZIO[Any, IOException, Path])(implicit trace: Trace): ZSink[FileConnector, IOException, Path, Nothing, Unit]
  24. def moveURI(locator: (URI) ⇒ URI)(implicit trace: Trace): ZSink[FileConnector, IOException, URI, Nothing, Unit]
  25. def moveURIZIO(locator: (URI) ⇒ ZIO[Any, IOException, URI])(implicit trace: Trace): ZSink[FileConnector, IOException, URI, Nothing, Unit]
  26. def readFile(file: ⇒ File): ZStream[FileConnector, IOException, Byte]
  27. def readFileName(name: ⇒ String): ZStream[FileConnector, IOException, Byte]
  28. def readPath(path: ⇒ Path): ZStream[FileConnector, IOException, Byte]
  29. def readURI(uri: ⇒ URI): ZStream[FileConnector, IOException, Byte]
  30. def tailFile(file: ⇒ File, duration: zio.Duration): ZStream[FileConnector, IOException, Byte]
  31. def tailFileName(name: ⇒ String, duration: zio.Duration): ZStream[FileConnector, IOException, Byte]
  32. def tailFileNameUsingWatchService(name: ⇒ String, duration: zio.Duration): ZStream[FileConnector, IOException, Byte]
  33. def tailFileUsingWatchService(file: ⇒ File, duration: zio.Duration): ZStream[FileConnector, IOException, Byte]
  34. def tailPath(path: ⇒ Path, duration: zio.Duration): ZStream[FileConnector, IOException, Byte]
  35. def tailPathUsingWatchService(path: ⇒ Path, duration: zio.Duration): ZStream[FileConnector, IOException, Byte]
  36. def tailURI(uri: ⇒ URI, duration: zio.Duration): ZStream[FileConnector, IOException, Byte]
  37. def tailURIUsingWatchService(uri: ⇒ URI, duration: zio.Duration): ZStream[FileConnector, IOException, Byte]
  38. def tempDirFile(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, File]
  39. def tempDirFileIn(file: File)(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, File]
  40. def tempDirFileName(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, String]
  41. def tempDirFileNameIn(name: String)(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, String]
  42. def tempDirPath(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, Path]
  43. def tempDirPathIn(path: Path)(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, Path]
  44. def tempDirURI(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, URI]
  45. def tempDirURIIn(uri: URI)(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, URI]
  46. def tempFile(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, File]
  47. def tempFileIn(file: File)(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, File]
  48. def tempFileName(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, String]
  49. def tempFileNameIn(name: String)(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, String]
  50. def tempPath(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, Path]
  51. def tempPathIn(path: Path)(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, Path]
  52. def tempURI(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, URI]
  53. def tempURIIn(uri: URI)(implicit trace: Trace): ZSink[FileConnector with Scope, IOException, Byte, Nothing, URI]
  54. val test: ZLayer[Any, Nothing, FileConnector]
  55. def writeFile(file: ⇒ File): ZSink[FileConnector, IOException, Byte, Nothing, Unit]
  56. def writeFileName(name: ⇒ String): ZSink[FileConnector, IOException, Byte, Nothing, Unit]
  57. def writePath(path: ⇒ Path): ZSink[FileConnector, IOException, Byte, Nothing, Unit]
  58. def writeURI(uri: ⇒ URI): ZSink[FileConnector, IOException, Byte, Nothing, Unit]
  59. object LiveFileConnector extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped