okami.mom/albedo
git clone https://git.nkp.pet/okami.mom/albedo
979f217
main
1//// The daemon and the CLI hash a build with one recipe. The shared fixture 2//// in test/fixtures/build-digest pins both implementations to the same 3//// constant, so a drift on either side fails here and in 4//// cli/internal/daemon/build_identity_test.go. 5 6import gleeunit/should 7 8@external ( erlang , "albedo_daemon" , "tree_digest" ) 9fn tree_digest ( path : String ) -> String 10 11pub fn tree_digest_matches_the_shared_fixture_test () -> Nil { 12tree_digest ( "test/fixtures/build-digest" ) 13|> should . equal ( 14"a8f2d0de5c26845d69d69f9a98111ab795b83d4ab24e6f18068b57145c13fe42" , 15) 16}