aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/meta/metadoc_from_src.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sisudoc/meta/metadoc_from_src.d')
-rw-r--r--src/sisudoc/meta/metadoc_from_src.d15
1 files changed, 1 insertions, 14 deletions
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;