CockpitAppTempStore class final
Owns host temporary directories inherited by desktop Flutter applications.
These directories intentionally outlive a workspace worker so a detached Flutter application can keep using temporary files after Cockpit reconnects.
Constructors
- CockpitAppTempStore({required String root, required CockpitPermissionHardener permissionHardener})
- Creates a store rooted at an absolute, workspace-isolated host path.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepare(
String key) → Future< String> -
Creates or reopens the stable temporary directory for
key. -
release(
String key) → Future< void> -
Removes the stable temporary directory for
key, when present. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited