diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-08-25 22:56:24 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-08-26 15:40:12 -0400 |
| commit | 5d9750a5651cdb230e7b781336958a7620c73dfd (patch) | |
| tree | 5a4b3494dc9f417ffbed954627c427d2cf98d45c /src/sisudoc/ocda/meta/metadoc_object_setter.d | |
| parent | ldc-v1.43.0-beta1 ok (diff) | |
sha summary, mostly cosmetic, some work on images
Diffstat (limited to 'src/sisudoc/ocda/meta/metadoc_object_setter.d')
| -rw-r--r-- | src/sisudoc/ocda/meta/metadoc_object_setter.d | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sisudoc/ocda/meta/metadoc_object_setter.d b/src/sisudoc/ocda/meta/metadoc_object_setter.d index 718ce55..7abde64 100644 --- a/src/sisudoc/ocda/meta/metadoc_object_setter.d +++ b/src/sisudoc/ocda/meta/metadoc_object_setter.d @@ -101,10 +101,15 @@ template ObjectSetter() { string[] lev4_subtoc = []; string[] anchor_tags = []; } + struct ST_file_name_hash_size_ { + string fileName; + ubyte[32] fileHash_sha256; + ulong fileSize; + } struct SHA_256_Hashes_ { char[] summary; ubyte[32] text; // both text and inline footnotes; consider additionally separating text and footnotes - ubyte[32][string] images; + ST_file_name_hash_size_[] images; // filename, filesize } struct DocObj_MetaInfo_ { string is_of_part = ""; // frontmatter, body, backmatter |
