XcodeCacheService class
Manages Xcode Derived Data at ~/Library/Developer/Xcode/DerivedData.
All shell work goes through CommandExec so the TUI isolate stays free. Public APIs that touch the filesystem are macOS-only.
Constructors
- XcodeCacheService(CommandExec _exec, {String? homeDirectory})
Properties
- derivedDataPath → String?
-
Default Derived Data path under the current user home.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearDerivedData(
) → Future< XcodeCacheClearResult> - Deletes Derived Data and recreates an empty directory.
-
getDerivedDataSizeBytes(
) → Future< int?> -
Disk usage of Derived Data in bytes, or
nullif missing / unreadable. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
derivedDataPathFor(
String home) → String -
Absolute path to Derived Data for
home.