1 // 2 // metadata_keys.hpp 3 // inmemoryfs 4 // 5 // Copyright © 2024 Apple Inc. All rights reserved. 6 // 7 // Please refer to the license found in the LICENSE file in the root directory of the source tree. 8 9 #pragma once 10 11 #include <string> 12 13 namespace inmemoryfs { 14 15 struct InMemoryNodeMetadataKeys { 16 constexpr static std::string_view kName = "name"; 17 constexpr static std::string_view kDataRegion = "dataRegion"; 18 constexpr static std::string_view kChildIndices = "children"; 19 constexpr static std::string_view kKind = "kind"; 20 }; 21 22 struct InMemoryFileSystemMetadataKeys { 23 constexpr static std::string_view kNodes = "nodes"; 24 }; 25 26 struct RangeKeys { 27 constexpr static std::string_view kOffset = "offset"; 28 constexpr static std::string_view kSize = "size"; 29 }; 30 31 } // namespace inmemoryfs 32