systemPrune method
Future<SystemPruneReport>
systemPrune({
- SystemPruneOptions options = const SystemPruneOptions(),
- Duration? timeout,
Prunes unused data from the local podman store.
Implementation
Future<SystemPruneReport> systemPrune({
SystemPruneOptions options = const SystemPruneOptions(),
Duration? timeout,
}) async {
final response = await _send(
method: HttpMethod.post,
path: '/system/prune',
queryParameters: options.toQueryParameters(),
expectedStatusCodes: const <int>{200},
timeout: timeout,
);
return SystemPruneReport.fromJson(
_decodeObject(response.bodyText, '/system/prune'),
);
}