aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/meta/metadoc_show_summary.d
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/meta/metadoc_show_summary.d
parentdigest tuple rearrange (diff)
markup source digests (write to terminal)
Diffstat (limited to 'src/sisudoc/meta/metadoc_show_summary.d')
-rw-r--r--src/sisudoc/meta/metadoc_show_summary.d11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/sisudoc/meta/metadoc_show_summary.d b/src/sisudoc/meta/metadoc_show_summary.d
index 379a1a7..36ed3c1 100644
--- a/src/sisudoc/meta/metadoc_show_summary.d
+++ b/src/sisudoc/meta/metadoc_show_summary.d
@@ -59,6 +59,8 @@ template spineMetaDocSummary() {
sisudoc.meta.rgx;
import
std.array,
+ std.digest.crc,
+ std.digest.sha,
std.exception,
std.regex,
std.stdio,
@@ -102,13 +104,20 @@ template spineMetaDocSummary() {
}
}
writefln(
- "%s\n\"%s\", %s\n%s [%s]\n%s\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%s",
+ "%s\n\"%s\", %s\n%s [%s]\n%s \n%s%s\n%s%s\n%s%s\n%s\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%s",
markup.repeat_character_by_number_provided("-", char_repeat_number),
doc_matters.conf_make_meta.meta.title_full,
doc_matters.conf_make_meta.meta.creator_author,
doc_matters.src.filename,
doc_matters.src.language,
markup.repeat_character_by_number_provided("-", char_repeat_number),
+ doc_matters.doc_digest.markup_doc.toHexString,
+ " - src doc digest",
+ doc_matters.doc_digest.header.toHexString,
+ " - doc header",
+ doc_matters.doc_digest.text.toHexString,
+ " - doc text",
+ markup.repeat_character_by_number_provided("-", char_repeat_number),
"- toc arr length:",
to!int(doc_abstraction["toc"].length),
"- doc_abstraction arr length:",