From 03b6742825eefcdf4ac58b2563f9d17333982392 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 29 Jun 2024 14:17:35 -0400 Subject: digest tuple rearrange --- src/sisudoc/meta/metadoc.d | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/sisudoc/meta/metadoc.d') diff --git a/src/sisudoc/meta/metadoc.d b/src/sisudoc/meta/metadoc.d index ed9a5b1..035f57e 100644 --- a/src/sisudoc/meta/metadoc.d +++ b/src/sisudoc/meta/metadoc.d @@ -51,7 +51,9 @@ module sisudoc.meta.metadoc; @safe: template spineAbstraction() { import - std.datetime; + std.datetime, + std.digest.crc, + std.digest.sha; import sisudoc.meta, sisudoc.meta.metadoc_from_src, @@ -88,6 +90,9 @@ template spineAbstraction() { } auto _header_body_insertfilelist_imagelist = spineRawMarkupContent!()(_opt_action, _manifest.src.path_and_fn); + writeln("src doc digest: ", _header_body_insertfilelist_imagelist.doc_digest.markup_doc.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.markup_doc.toHexString.length); + writeln("header: ", _header_body_insertfilelist_imagelist.doc_digest.header.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.header.toHexString.length); + writeln("text: ", _header_body_insertfilelist_imagelist.doc_digest.text.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.text.toHexString.length); if ((_opt_action.debug_do) || (_opt_action.debug_do_stages) ) { -- cgit v1.2.3