CacheWorkspaceRepository class final

Separates read-only inspection from explicit discovery and registration.

Constructors

CacheWorkspaceRepository({Map<String, String>? environment, String? currentDirectory, CacheProjectSource? projects, CacheSessionStateReader? sessionStates, CacheLocationSource locations = defaultCacheLocationSource, List<({String guidance, String match})> toolGuidance = const [], ProcessLiveness liveness = const HostProcessLiveness()})

Properties

currentDirectory → String
final
environment → Map<String, String>
final
hashCode → int
The hash code for this object.
no setterinherited
liveness → ProcessLiveness
final
locations → CacheLocationSource
final
projects → CacheProjectSource
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionStates → CacheSessionStateReader
final
toolGuidance → List<({String guidance, String match})>
Per-tool guidance forwarded to locations; supplied by the CLI composition root from oka_android (ADR-0022: Android knowledge stays in the platform package; this layer stays generic).
final

Methods

discoverAndRemember(CacheWorkspaceRequest request) → Future<CacheWorkspace>
inspect([CacheWorkspaceRequest request = const CacheWorkspaceRequest()]) → Future<CacheWorkspace>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read([CacheWorkspaceRequest request = const CacheWorkspaceRequest()]) → Future<CacheWorkspace>
toString() → String
A string representation of this object.
inherited

Operators

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