FsEntry
A platform-neutral handle to a file or directory, bound to the FileSystem backend that created it. An entry provides path math, existence and metadata queries, content reading, and directory listing, without exposing the underlying I/O engine.
Entries are created via FileSystem.resolve or derived from other entries (resolve, parent, children).
Properties
This entry with symbolic links resolved, if it exists; falls back to its absolute, normalized form otherwise.
fullPath with / as the separator on every platform, suitable for URLs.
Whether this entry's path is absolute.
Whether this entry exists and is a directory.
The last modification timestamp in epoch milliseconds, if available.
The file name without its last extension.
This entry with redundant path segments (., ..) resolved lexically.
Functions
Walks this directory entry recursively.
Computes this entry's path relative to other.
Converts this entry to a File, if it is backed by the physical disk file system. This is the boundary between the platform-neutral input abstraction and JVM-only output or process-level code; input-side code must not use it.
Converts this entry to an OutputResource for the pipeline to output.