From d7e7c79253697a7b34df04f547c70669acb67ea1 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 4 Jul 2024 11:37:18 -0400 Subject: [fn].digest.txt, sha256 of pod source files & pod --- src/sisudoc/meta/metadoc_from_src.d | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/sisudoc/meta/metadoc_from_src.d') diff --git a/src/sisudoc/meta/metadoc_from_src.d b/src/sisudoc/meta/metadoc_from_src.d index c9112ef..70fec62 100644 --- a/src/sisudoc/meta/metadoc_from_src.d +++ b/src/sisudoc/meta/metadoc_from_src.d @@ -1037,20 +1037,7 @@ template docAbstraction() { obj = _links(obj); } } - auto image_list = (_images.sort()).uniq; // also get digest on each image here? // workon - if (_images.length > 0) { - foreach (img; image_list) { - try { // also get sha digest on image file - // read_image - auto data = (cast(byte[]) (manifested.src.image_dir_path ~ "/" ~ img).read); - // calculate, digest, hash - writeln(img, "\n", data.sha256Of.toHexString, "::", data.length, " ", img); - writeln(data.sha256Of.toHexString, " ", img, " ", data.length); - } catch (Exception ex) { - writeln("WARNING, image not found: ", img, "\n ", manifested.src.image_dir_path ~ "/" ~ img); - } - } - } + auto image_list = (_images.sort()).uniq; // endnotes optional only one 1~ level if (the_document_endnotes_section.length > 1) { // writeln("endnotes"); dom_structure_markedup_tags_status_buffer = dom_structure_markedup_tags_status.dup; -- cgit v1.2.3