Resilient Path
A wrapper around Path whose write operations retry on transient I/O failures.
Intended for paths that may live on a GCS-fuse mount, where close()-time uploads can fail with transient errors (e.g. "Stale file handle"). Read operations delegate directly to Path; mutating operations (writeText, createDirectories, deleteRecursively, etc.) wrap the call in an exponential-backoff retry loop. See writeText for the full rationale.
Constructors
Constructs a ResilientPath from a string path, parsed via Path.of.
Types
Factory helpers for constructing ResilientPath instances.
Functions
Retry-wrapped directory creation (including this path). See writeText for rationale.
Retry-wrapped createParentDirectories. See writeText for rationale.
Retry-wrapped deleteIfExists. See writeText for rationale.
Retry-wrapped recursive delete. See writeText for rationale.
Path-join operator, equivalent to resolve.
Whether the path's file name has a .json extension (case-insensitive).
Resolves other against this path, returning a new ResilientPath.
Formats this path as a clickable file:// URI for log output, or file://<file not specified> when the receiver is null.
Returns absolutePathString.