FileKey

fs2.io.file.FileKey
See theFileKey companion object
trait FileKey

An opaque, unique identifier for a file.

Paths which have the same FileKey (via univerals equals), as reported by Files[F].getBasicFileAttributes(path).fileKey, are guaranteed to reference the same file on the file system.

Note: not all operating systems and file systems support file keys, hence BasicFileAttributes#fileKey returns an Option[FileKey].

Attributes

Companion
object
Source
FileKey.scala
Graph
Supertypes
class Object
trait Matchable
class Any
In this article