aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/spine.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-06-29 14:17:35 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-06-29 15:39:08 -0400
commit03b6742825eefcdf4ac58b2563f9d17333982392 (patch)
tree4db704a75ba340023fd0f4b12ae4f0e52e1ece9a /org/spine.org
parentreduction in use of tuples (diff)
digest tuple rearrange
Diffstat (limited to 'org/spine.org')
-rw-r--r--org/spine.org12
1 files changed, 9 insertions, 3 deletions
diff --git a/org/spine.org b/org/spine.org
index 56cb3f7..879424b 100644
--- a/org/spine.org
+++ b/org/spine.org
@@ -161,7 +161,9 @@ import
#+NAME: imports_spine_metadoc
#+BEGIN_SRC d
import
- std.datetime;
+ std.datetime,
+ std.digest.crc,
+ std.digest.sha;
import
sisudoc.meta,
sisudoc.meta.metadoc_from_src,
@@ -1478,13 +1480,14 @@ template spineAbstraction() {
<<spine_each_file_do_split_dr_markup_file_header_into_make_and_meta_structs>>
<<spine_each_file_do_document_abstraction>>
<<spine_each_file_do_document_matters_msg_step4_start>>
- <<spine_each_file_do_document_matters_0_struct_open>>
+ struct DocumentMatters {
<<spine_each_file_do_document_matters_1_detail_program_time>>
<<spine_each_file_do_document_matters_2_meta>>
<<spine_each_file_do_document_matters_3_env>>
<<spine_each_file_do_document_matters_4_opt>>
<<spine_each_file_do_document_matters_5_doc>>
- <<spine_each_file_do_document_matters_6_struct_close_gather>>
+ }
+ auto doc_matters = DocumentMatters();
<<spine_each_file_do_document_matters_msg_step4_end>>
auto t = tuple(doc_abstraction, doc_matters);
return t;
@@ -1530,6 +1533,9 @@ if ((_opt_action.debug_do)
}
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)
) {