diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-07-30 23:24:06 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-07-31 14:48:09 -0400 |
| commit | 569a22bdb0841f360af97683ded5006329a14b28 (patch) | |
| tree | 5d8969d9c269792468219af492d068dfcb7ea720 /src/sisudoc/ocda/abstraction | |
| parent | digest (sha256) for document root heading (title) (diff) | |
digests (sha256) a revisit
Diffstat (limited to 'src/sisudoc/ocda/abstraction')
| -rw-r--r-- | src/sisudoc/ocda/abstraction/ssp.d | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sisudoc/ocda/abstraction/ssp.d b/src/sisudoc/ocda/abstraction/ssp.d index cb3747b..a2135df 100644 --- a/src/sisudoc/ocda/abstraction/ssp.d +++ b/src/sisudoc/ocda/abstraction/ssp.d @@ -291,14 +291,16 @@ template spineAbstractionTxt() { /+ ↓ sha256 digest +/ { bool has_sha = false; - foreach (b; obj.metainfo.sha256) { + foreach (b; obj.metainfo.sha256.text) { if (b != 0) { has_sha = true; break; } } if (has_sha) { - output ~= ".sha256: " ~ obj.metainfo.sha256.toHexString.to!string; + if (doc_matters.opt.action.vox_gt_2) { + writeln(obj.metainfo.sha256.summary); // USE check + } + output ~= ".sha256: " ~ obj.metainfo.sha256.text.toHexString.to!string; } } - /+ ↓ text attributes +/ if (obj.attrib.indent_base != 0 || obj.attrib.indent_hang != 0) output ~= ".indent: " ~ obj.attrib.indent_base.to!string |
