blob: a6ed4b736f47290f2d134b083c55165772b1bef2 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.space;
enum ErrorCode : uint32 {
INTERNAL = 1;
/// The system is in the process of being updated, and the current system version has not yet
/// been committed. GC is blocked to protect the blobs required by the previous system version.
/// Consumers may use [`fuchsia.update/CommitStatusProvider.IsCurrentSystemCommitted`] to track
/// when the commit completes.
PENDING_COMMIT = 2;
};
[Discoverable]
protocol Manager {
/// Trigger a garbage collection.
Gc() -> () error ErrorCode;
};