Cotton code
8 lines · 312 B · SwiftRaw
/// Native storage roots use a byte-length prefix so a device id containing/// colons or Unicode remains unambiguous to the core parser.enum StorageRecordID {    static let current = "this"    static func machine(_ device: String) -> String {        "storage:\(device.utf8.count):\(device):machine"    }}