aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/io_out
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 /src/sisudoc/io_out
parentdigest tuple rearrange (diff)
markup source digests (write to terminal)
Diffstat (limited to 'src/sisudoc/io_out')
-rw-r--r--src/sisudoc/io_out/source_pod.d6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sisudoc/io_out/source_pod.d b/src/sisudoc/io_out/source_pod.d
index 97e31af..3fd7a9a 100644
--- a/src/sisudoc/io_out/source_pod.d
+++ b/src/sisudoc/io_out/source_pod.d
@@ -395,10 +395,10 @@ template spinePod() {
&& 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) {
@@ -406,7 +406,7 @@ template spinePod() {
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