tiny.machine.ProfileFingerprint
Defined in profile.wire.
The identity of one full profile.
API (2)
Actions
Public operations.
Fields and members
Public fields and members.
Source
Source: lib/machine/src/profile/wire.zig:35
zig
/// The identity of one full profile. A caller compares this fingerprint to know/// whether two runs used the very same profile, backend and claims included. The/// contract, the backend, and the claims all feed it, so every pairing of a canonical/// kind with a backend gets a distinct value. A restore proceeds only when the profile/// in hand carries the value recorded with the checkpoint. `hex` renders the digest/// as lowercase hexadecimal.pub const ProfileFingerprint = struct { digest: [Sha256.digest_length]u8, pub fn hex(self: ProfileFingerprint) [Sha256.digest_length * 2]u8 { return std.fmt.bytesToHex(self.digest, .lower); }};Source: lib/machine/src/root.zig:105
zig
pub const ProfileFingerprint = profile.ProfileFingerprint;Also reachable as
Audit
| Definitions | 2 |
|---|---|
| Public names | 6 |
| Members | 1 |
| Version | 26.7.0 |
| Revision | daab053ee433 |