RenamableFileSystem class abstract interface

Optional FileSystem capability: atomic same-filesystem rename.

Powers the session-ownership lease (#428): the _owner.json sidecar publishes with temp + rename so a concurrent reader never sees a partial claim (E5 — exactly one acquirer wins). Backends without an atomic rename (pure web stores) do not implement it — the lease store probes with is RenamableFileSystem and degrades to unenforced ownership. Decorators forward to their delegate so wrapping an env never hides the capability.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renamePath(String from, String to) → Future<Result<void, FileError>>
Atomically renames/moves from to to (overwrites an existing to, POSIX semantics).
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited