aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_src_pod.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-06-29 14:53:07 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-07-01 12:52:54 -0400
commit3ff7241bb2bfef1d85c3fb0f880cac250c8de1bc (patch)
tree6218f65068862e97d06bfed8177c92ccbeac2276 /org/out_src_pod.org
parentdigest tuple rearrange (diff)
markup source digests (write to terminal)
Diffstat (limited to 'org/out_src_pod.org')
-rw-r--r--org/out_src_pod.org6
1 files changed, 3 insertions, 3 deletions
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