blob: 1884cd5d4de1711d51b376741a54509437b14b9b [file] [log] [blame]
// Copyright 2018 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.pkg;
/// BlobId is a content-addressed merkle root that describes an artifact that is tracked by the
/// packaging system.
struct BlobId {
array<uint8>:32 merkle_root;
};
/// BlobInfo is a tuple of the content-addressed merkle root for an artifact, along with that
/// artifact's length in bytes.
struct BlobInfo {
BlobId blob_id;
uint64 length;
};