Files

class Files[F[_]](implicit F: Sync[F])
Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def copy(in: InputStream, target: Path, options: CopyOption*): F[Long]
def copy(source: Path, out: OutputStream): F[Long]
def copy(source: Path, target: Path, options: CopyOption*): F[Path]
def createDirectories(dir: Path, attrs: FileAttribute[_]*): F[Path]
def createDirectory(dir: Path, attrs: FileAttribute[_]*): F[Path]
def createFile(path: Path, attrs: FileAttribute[_]*): F[Path]
def createTempDirectory(dir: Path, prefix: String, attrs: FileAttribute[_]*): F[Path]
def createTempDirectory(prefix: String, attrs: FileAttribute[_]*): F[Path]
def createTempFile(dir: Path, prefix: String, suffix: String, attrs: FileAttribute[_]*): F[Path]
def createTempFile(prefix: String, suffix: String, attrs: FileAttribute[_]*): F[Path]
def delete(path: Path): F[Unit]
def deleteIfExists(path: Path): F[Boolean]
def exists(path: Path): F[Boolean]
def find(start: Path, maxDepth: Int, matcher: (Path, BasicFileAttributes) => Boolean, options: FileVisitOption*): F[Stream[Path]]
def getAttribute(path: Path, attribute: String, options: LinkOption*): F[Object]
def getFileAttributeView[A <: FileAttributeView](path: Path, `type`: Class[A], options: LinkOption*): F[A]
def getFileStore(path: Path): F[FileStore]
def getLastModifiedTime(path: Path, options: LinkOption*): F[FileTime]
def getOwner(path: Path, options: LinkOption*): F[UserPrincipal]
def getPosixFilePermissions(path: Path, options: LinkOption*): F[Set[PosixFilePermission]]
def isDirectory(path: Path, options: LinkOption*): F[Boolean]
def isExecutable(path: Path): F[Boolean]
def isHidden(path: Path): F[Boolean]
def isReadable(path: Path): F[Boolean]
def isRegularFile(path: Path, options: LinkOption*): F[Boolean]
def isSameFile(path: Path, path2: Path): F[Boolean]
def isWritable(path: Path): F[Boolean]
def lines(path: Path): F[Stream[String]]
def lines(path: Path, cs: Charset): F[Stream[String]]
def list(dir: Path): F[Stream[Path]]
def move(source: Path, target: Path, options: CopyOption*): F[Path]
def newBufferedReader(path: Path): F[BufferedReader]
def newBufferedReader(path: Path, cs: Charset): F[BufferedReader]
def newBufferedWriter(path: Path, cs: Charset, options: OpenOption*): F[BufferedWriter]
def newBufferedWriter(path: Path, options: OpenOption*): F[BufferedWriter]
def newByteChannel(path: Path, options: OpenOption*): F[SeekableByteChannel]
def newByteChannel(path: Path, options: Set[_ <: OpenOption], attrs: FileAttribute[_]*): F[SeekableByteChannel]
def newDirectoryStream(dir: Path): F[DirectoryStream[Path]]
def newDirectoryStream(dir: Path, filter: Filter[_ >: Path]): F[DirectoryStream[Path]]
def newDirectoryStream(dir: Path, glob: String): F[DirectoryStream[Path]]
def newInputStream(path: Path, options: OpenOption*): F[InputStream]
def newOutputStream(path: Path, options: OpenOption*): F[OutputStream]
def notExists(path: Path, options: LinkOption*): F[Boolean]
def probeContentType(path: Path): F[String]
def readAllBytes(path: Path): F[Array[Byte]]
def readAllLines(path: Path): F[Buffer[String]]
def readAttributes[A <: BasicFileAttributes](path: Path, `type`: Class[A], options: LinkOption*): F[A]
def readAttributes(path: Path, attributes: String, options: LinkOption*): F[Map[String, Object]]
def setAttribute(path: Path, attribute: String, value: Object, options: LinkOption*): F[Path]
def setLastModifiedTime(path: Path, time: FileTime): F[Path]
def setOwner(path: Path, owner: UserPrincipal): F[Path]
def setPosixFilePermissions(path: Path, perms: Set[PosixFilePermission]): F[Path]
def size(path: Path): F[Long]
def walk(start: Path, options: FileVisitOption*): F[Stream[Path]]
def walk(start: Path, maxDepth: Int, options: FileVisitOption*): F[Stream[Path]]
def walkFileTree(start: Path, visitor: FileVisitor[_ >: Path]): F[Path]
def walkFileTree(start: Path, options: Set[FileVisitOption], maxDepth: Int, visitor: FileVisitor[_ >: Path]): F[Path]
def write(path: Path, bytes: Array[Byte], options: OpenOption*): F[Path]
def write(path: Path, lines: Iterable[_ <: CharSequence], cs: Charset, options: OpenOption*): F[Path]
def write(path: Path, lines: Iterable[_ <: CharSequence], options: OpenOption*): F[Path]