Expand description
New ids, including each install’s 64-bit device id (§10).
Structs§
- Circle
Id - A circle’s identity, independent of its name or current key (§15.5).
- Device
Id - One install of the app, by its 64-bit device id (§10).
- FileId
- A file record’s identity, independent of its content and of where its bytes are stored (§17.2). coven takes it from the id source when the app stages the file, or when a write moves a row that names a file to another audience and gives it a new file there.
- Invalid
Member Id - Text that is not a member id’s canonical lowercase hyphenated UUID (D10).
- Invite
Id - An invitation’s identity, independent of its one-time secret (§13.2).
- KeyId
- A store or circle key’s identity, named by the entry introducing it (§12.1).
- Member
Id - A member’s identity, independent of their keys, which never changes (§10). coven takes it from the id source when the first device creates the store or an admin makes the invite that admits the member. Device ownership, circle membership and slot authors name it; a key replacement keeps it.
- NotCanonical
Uuid - Text that is not a UUID’s canonical lowercase hyphenated spelling (D10).
- Object
Id - A stored object’s id, the last part of its path
<store>/files/<uploader>/<object>(§17.5). coven takes it from the id source when a write queues the upload of bytes this device holds. - Sequential
Ids - A deterministic sequence of UUIDs and device ids, starting at one.
- StoreId
- A store’s identity, independent of its name and location on disk.
- UuidIds
- Random UUIDv4 ids, independent of the clock (E1).
Traits§
- IdSource
- The source of new ids, supplied when creating or opening a store.
Functions§
- canonical_
uuid - The UUID
textspells in its one canonical form, lowercase and hyphenated (D10). Any other spelling of the same UUID names nothing.
Type Aliases§
- IdSource
Ref - A shared source of new ids.