From 3ff7241bb2bfef1d85c3fb0f880cac250c8de1bc Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 29 Jun 2024 14:53:07 -0400 Subject: markup source digests (write to terminal) --- org/out_src_pod.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'org/out_src_pod.org') diff --git a/org/out_src_pod.org b/org/out_src_pod.org index 9accccb..c6143cb 100644 --- a/org/out_src_pod.org +++ b/org/out_src_pod.org @@ -422,10 +422,10 @@ if (exists(fn_pod)) { && doc_matters.opt.action.pod) { auto data = (cast(byte[]) (fn_pod).read); if (doc_matters.opt.action.vox_gt1) { - writeln(" ", doc_matters.src.filename, " > "); + writeln(doc_matters.src.filename, " > ", doc_matters.src.filename_base, ".zip"); } if (doc_matters.opt.action.pod) { - writefln("%s\n. %-(%02x%)::%s . %s.zip", fn_pod, data.sha256Of, data.length, doc_matters.src.filename_base); + writeln(data.sha256Of.toHexString, "::", data.length, " - ", doc_matters.src.filename_base, ".zip"); } } if (doc_matters.opt.action.debug_do_pod) { @@ -433,7 +433,7 @@ if (exists(fn_pod)) { auto zipped = new ZipArchive((fn_pod).read); foreach (filename, member; zipped.directory) { auto data = zipped.expand(member); - writeln(". ", ((data).sha256Of).toHexString, "::", data.length, " . ", filename); + writeln(data.sha256Of.toHexString, "::", data.length, " . ", filename); } } catch (ZipException ex) { // Handle errors -- cgit v1.2.3