Skip to main content

Module identity

Module identity 

Source
Expand description

The cache identity: the stamp of the machine and the user that a cache belongs to.

The cache is not portable. When the store creates the database it stamps it with the CacheIdentity of the process that creates it: the host name, the effective user and group, the supplementary groups, the umask, the machine architecture, and the CPU model. Every later Store::open gathers the current identity and compares it with the stamp, value by value, and refuses a cache whose stamp differs, naming each IdentityDifference.

Structs§

CacheIdentity
The identity of the machine and the user that a cache belongs to, which the store writes when it creates the database and compares on every later open.
IdentityDifference
A value of the cache identity that differs: as the cache stores it, and as this process has it.
IdentityKey
The key of the cache identity, the stamp of the database, in the meta/ family.

Enums§

IdentityPart
One value of a CacheIdentity.

Functions§

identity_differences_text
Every difference of differences, separated by semicolons.