MountStore class
On-disk registry of the client's OmnyDrive mounts.
Persisted to <home>/.omnyshell/mounts.json (file mode 600), mirroring the
credential store. Keyed by mount id.
Constructors
-
MountStore({Map<
String, MountRecord> ? mounts, String? home}) -
Creates a store over
mounts.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- home → String?
-
The home base this store reads/writes under (
nulluses the defaultOMNYSHELL_HOME/HOMEresolution). Remembered so save targets the same location load used.final -
mounts
→ Map<
String, MountRecord> -
Mounts keyed by id.
final
- 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
-
save(
) → Future< void> -
Persists the store (dir mode
700, file mode600on POSIX). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited