Commit Graph

4 Commits

Author SHA1 Message Date
Blake Mizerany 06c21f00eb x/model: make Digest just hold a string
This is so much easier to reason about and allows Name to contain only
parts, instead of a special field for the digest.

It also removes the allocs in Digest.String().
2024-04-07 18:40:24 -07:00
Blake Mizerany 8b62eaf059 x/model: {Valid,Complete,Resolved} -> {IsValid,IsComplete,IsResolved} 2024-04-07 18:17:51 -07:00
Blake Mizerany bdff89bc4c x/model: add roundtrip for String test 2024-04-07 16:33:55 -07:00
Blake Mizerany 2100129e83 x/model: add Digest type 2024-04-07 15:38:11 -07:00