diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2024-07-04 11:37:18 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2024-07-04 11:37:24 -0400 |
commit | d7e7c79253697a7b34df04f547c70669acb67ea1 (patch) | |
tree | 55c1fd75ff17de8776599fc633ef71c3648353a1 /org/ocda.org | |
parent | markup source digest to metadata.html (diff) |
[fn].digest.txt, sha256 of pod source files & pod
Diffstat (limited to 'org/ocda.org')
-rw-r--r-- | org/ocda.org | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/org/ocda.org b/org/ocda.org index 946dcb9..dca0098 100644 --- a/org/ocda.org +++ b/org/ocda.org @@ -1068,20 +1068,7 @@ if (the_document_body_section.length > 1) { // writeln("body"); 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; |