Be consistent with order of sha256 and size

This commit is contained in:
Reynir Björnsson 2021-02-26 10:00:37 +01:00
parent 71cc34bac3
commit a7be8f8f47

View file

@ -86,8 +86,9 @@ let artifact ?(basename=false) job_name build { Builder_db.filepath; localpath =
[if basename [if basename
then txt (Fpath.basename filepath) then txt (Fpath.basename filepath)
else txtf "%a" Fpath.pp filepath]; else txtf "%a" Fpath.pp filepath];
txtf " (%a) " Fmt.byte_size size; txt " ";
code [txtf "SHA256:%a" Hex.pp (Hex.of_cstruct sha256)]; code [txtf "SHA256:%a" Hex.pp (Hex.of_cstruct sha256)];
txtf " (%a)" Fmt.byte_size size;
] ]