aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ocda.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-06-29 14:17:35 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-06-29 15:39:08 -0400
commit03b6742825eefcdf4ac58b2563f9d17333982392 (patch)
tree4db704a75ba340023fd0f4b12ae4f0e52e1ece9a /org/ocda.org
parentreduction in use of tuples (diff)
digest tuple rearrange
Diffstat (limited to 'org/ocda.org')
-rw-r--r--org/ocda.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/org/ocda.org b/org/ocda.org
index 9811545..946dcb9 100644
--- a/org/ocda.org
+++ b/org/ocda.org
@@ -1075,8 +1075,8 @@ if (_images.length > 0) {
// read_image
auto data = (cast(byte[]) (manifested.src.image_dir_path ~ "/" ~ img).read);
// calculate, digest, hash
- writefln("%s\n%-(%02x%)::%s ⋅ %s", img, data.sha256Of, data.length, img);
- writefln("%-(%02x%) ⋅ %s ⋅ %s", data.sha256Of, img, data.length);
+ writeln(img, "\n", data.sha256Of.toHexString, "::", data.length, " ", img);
+ writeln(data.sha256Of.toHexString, " ", img, " ", data.length);
} catch (Exception ex) {
writeln("WARNING, image not found: ", img, "\n ", manifested.src.image_dir_path ~ "/" ~ img);
}