object Files extends FilesPlatformSpecific
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Files
- FilesPlatformSpecific
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class Attribute(attributeName: String, viewName: String = "basic") extends Product with Serializable
- sealed trait AttributeNames extends AnyRef
- final case class Attributes(attributeNames: AttributeNames, viewName: String = "base") extends Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def copy(in: ZStream[Any, IOException, Byte], target: Path, options: CopyOption*)(implicit trace: Trace): ZIO[Any, IOException, Long]
- def copy(source: Path, target: Path, copyOptions: CopyOption*)(implicit trace: Trace): ZIO[Any, IOException, Unit]
- def createDirectories(path: Path, attrs: FileAttribute[_]*)(implicit trace: Trace): ZIO[Any, IOException, Unit]
- def createDirectory(path: Path, attrs: FileAttribute[_]*)(implicit trace: Trace): ZIO[Any, IOException, Unit]
- def createFile(path: Path, attrs: FileAttribute[_]*)(implicit trace: Trace): ZIO[Any, IOException, Unit]
- def createLink(link: Path, existing: Path)(implicit trace: Trace): ZIO[Any, IOException, Unit]
- def createSymbolicLink(link: Path, target: Path, fileAttributes: FileAttribute[_]*)(implicit trace: Trace): ZIO[Any, IOException, Unit]
- def createTempDirectory(prefix: Option[String], fileAttributes: Iterable[FileAttribute[_]])(implicit trace: Trace): ZIO[Any, IOException, Path]
- def createTempDirectory(dir: Path, prefix: Option[String], fileAttributes: Iterable[FileAttribute[_]])(implicit trace: Trace): ZIO[Any, IOException, Path]
- def createTempDirectoryScoped(prefix: Option[String], fileAttributes: Iterable[FileAttribute[_]])(implicit trace: Trace): ZIO[Scope, IOException, Path]
- def createTempDirectoryScoped(dir: Path, prefix: Option[String], fileAttributes: Iterable[FileAttribute[_]])(implicit trace: Trace): ZIO[Scope, IOException, Path]
- def createTempFile(suffix: String = ".tmp", prefix: Option[String], fileAttributes: Iterable[FileAttribute[_]])(implicit trace: Trace): ZIO[Any, IOException, Path]
- def createTempFileIn(dir: Path, suffix: String = ".tmp", prefix: Option[String], fileAttributes: Iterable[FileAttribute[_]])(implicit trace: Trace): ZIO[Any, IOException, Path]
- def createTempFileInScoped(dir: Path, suffix: String = ".tmp", prefix: Option[String] = None, fileAttributes: Iterable[FileAttribute[_]] = Nil)(implicit trace: Trace): ZIO[Scope, IOException, Path]
- def createTempFileScoped(suffix: String = ".tmp", prefix: Option[String] = None, fileAttributes: Iterable[FileAttribute[_]] = Nil)(implicit trace: Trace): ZIO[Scope, IOException, Path]
- def delete(path: Path)(implicit trace: Trace): ZIO[Any, IOException, Unit]
- def deleteIfExists(path: Path)(implicit trace: Trace): ZIO[Any, IOException, Boolean]
- def deleteRecursive(path: Path)(implicit trace: Trace): ZIO[Any, IOException, Long]
- Definition Classes
- FilesPlatformSpecific
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exists(path: Path, linkOptions: LinkOption*)(implicit trace: Trace): ZIO[Any, Nothing, Boolean]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def find(path: Path, maxDepth: Int = Int.MaxValue, visitOptions: Set[FileVisitOption] = Set.empty)(test: (Path, BasicFileAttributes) => Boolean)(implicit trace: Trace): ZStream[Any, IOException, Path]
- def getAttribute(path: Path, attribute: Attribute, linkOptions: LinkOption*)(implicit trace: Trace): ZIO[Any, IOException, AnyRef]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getFileStore(path: Path)(implicit trace: Trace): ZIO[Any, IOException, FileStore]
- def getLastModifiedTime(path: Path, linkOptions: LinkOption*)(implicit trace: Trace): ZIO[Any, IOException, FileTime]
- def getOwner(path: Path, linkOptions: LinkOption*)(implicit trace: Trace): ZIO[Any, IOException, UserPrincipal]
- def getPosixFilePermissions(path: Path, linkOptions: LinkOption*)(implicit trace: Trace): ZIO[Any, IOException, Set[PosixFilePermission]]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isDirectory(path: Path, linkOptions: LinkOption*)(implicit trace: Trace): ZIO[Any, Nothing, Boolean]
- def isExecutable(path: Path)(implicit trace: Trace): ZIO[Any, Nothing, Boolean]
- def isHidden(path: Path)(implicit trace: Trace): ZIO[Any, IOException, Boolean]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isReadable(path: Path)(implicit trace: Trace): ZIO[Any, Nothing, Boolean]
- def isRegularFile(path: Path, linkOptions: LinkOption*)(implicit trace: Trace): ZIO[Any, Nothing, Boolean]
- def isSameFile(path: Path, path2: Path)(implicit trace: Trace): ZIO[Any, IOException, Boolean]
- def isSymbolicLink(path: Path)(implicit trace: Trace): ZIO[Any, Nothing, Boolean]
- def isWritable(path: Path)(implicit trace: Trace): ZIO[Any, Nothing, Boolean]
- def lines(path: Path, charset: Charset = Charset.Standard.utf8)(implicit trace: Trace): ZStream[Any, IOException, String]
- def list(path: Path)(implicit trace: Trace): ZStream[Any, IOException, Path]
- def move(source: Path, target: Path, copyOptions: CopyOption*)(implicit trace: Trace): ZIO[Any, IOException, Unit]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newDirectoryStream(dir: Path, filter: (Path) => Boolean)(implicit trace: Trace): ZStream[Any, IOException, Path]
- def newDirectoryStream(dir: Path, glob: String = "*")(implicit trace: Trace): ZStream[Any, IOException, Path]
- def notExists(path: Path, linkOptions: LinkOption*)(implicit trace: Trace): ZIO[Any, Nothing, Boolean]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def probeContentType(path: Path)(implicit trace: Trace): ZIO[Any, IOException, String]
- def readAllBytes(path: Path)(implicit trace: Trace): ZIO[Any, IOException, Chunk[Byte]]
- def readAllLines(path: Path, charset: Charset = Charset.Standard.utf8)(implicit trace: Trace): ZIO[Any, IOException, List[String]]
- def readAttributes(path: Path, attributes: Attributes, linkOptions: LinkOption*)(implicit trace: Trace): ZIO[Any, IOException, Map[String, AnyRef]]
- def readAttributes[A <: BasicFileAttributes](path: Path, linkOptions: LinkOption*)(implicit arg0: ClassTag[A], trace: Trace): ZIO[Any, IOException, A]
- def readSymbolicLink(link: Path)(implicit trace: Trace): ZIO[Any, IOException, Path]
- def setAttribute(path: Path, attribute: Attribute, value: AnyRef, linkOptions: LinkOption*)(implicit trace: Trace): ZIO[Any, Exception, Unit]
- def setLastModifiedTime(path: Path, time: FileTime)(implicit trace: Trace): ZIO[Any, IOException, Unit]
- def setOwner(path: Path, owner: UserPrincipal)(implicit trace: Trace): ZIO[Any, IOException, Unit]
- def setPosixFilePermissions(path: Path, permissions: Set[PosixFilePermission])(implicit trace: Trace): ZIO[Any, IOException, Unit]
- def size(path: Path)(implicit trace: Trace): ZIO[Any, IOException, Long]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def useFileAttributeView[A <: FileAttributeView, B, E](path: Path, linkOptions: LinkOption*)(f: (A) => ZIO[Any, E, B])(implicit arg0: ClassTag[A], trace: Trace): ZIO[Any, E, B]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def walk(path: Path, maxDepth: Int = Int.MaxValue, visitOptions: Set[FileVisitOption] = Set.empty)(implicit trace: Trace): ZStream[Any, IOException, Path]
- def writeBytes(path: Path, bytes: Chunk[Byte], openOptions: OpenOption*)(implicit trace: Trace): ZIO[Any, IOException, Unit]
- def writeLines(path: Path, lines: Iterable[CharSequence], charset: Charset = Charset.Standard.utf8, openOptions: Set[OpenOption] = Set.empty)(implicit trace: Trace): ZIO[Any, IOException, Unit]
- object Attribute extends Serializable
- object AttributeNames
- object Attributes extends Serializable