fxfs_platform_constants/constants.rs
1// Copyright 2026 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// NOTE: These constants are used as part of the host build, which means there can be version skew
6// between what might be used on a device and what a host tool might be using.
7
8// VMO holding blobs served by fxfs have a name starting with this prefix.
9pub const BLOB_NAME_PREFIX: &str = "blob-";
10
11// Length of the hash hex representation appended to the VMO name.
12pub const BLOB_NAME_HASH_LENGTH: usize = 8;