aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/ocda/abstraction
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-09-07 09:19:50 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-09-09 17:11:51 -0400
commit638dade4339f92379f7941d1023c4d3b29fe5486 (patch)
treef1924ad887a5b49661f1a5e96842ef60ed6371c2 /src/sisudoc/ocda/abstraction
parentocda: remove dead fields (diff)
sqlite db abstraction: make readable as read-only
drop WAL so the file can be read read-only: journal_mode=WAL was set in the file header and A WAL database cannot be opened by a reader that cannot also write beside it (this ruled out a read-only directory, read-only media, and anything that wants to read the artefact where it sits). (assisted by Claude-Code)
Diffstat (limited to 'src/sisudoc/ocda/abstraction')
-rw-r--r--src/sisudoc/ocda/abstraction/ssp.d11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/sisudoc/ocda/abstraction/ssp.d b/src/sisudoc/ocda/abstraction/ssp.d
index fc7dbd3..5e9347f 100644
--- a/src/sisudoc/ocda/abstraction/ssp.d
+++ b/src/sisudoc/ocda/abstraction/ssp.d
@@ -315,9 +315,6 @@ template spineAbstractionTxt() {
if (obj.metainfo.object_number_off) {
output ~= ".ocn_off: true";
}
- // if (obj.metainfo.o_n_type != 0) {
- // output ~= ".o_n_type: " ~ obj.metainfo.o_n_type.to!string;
- // }
if (obj.metainfo.is_of_type.length > 0) {
output ~= ".is_of_type: " ~ obj.metainfo.is_of_type;
}
@@ -402,16 +399,10 @@ template spineAbstractionTxt() {
}
if (obj.table.heading) {
output ~= ".table_header: true";
- }
- // if (obj.table.walls) {
- // output ~= ".table_walls: true";
- // }
+ }
}
/+ ↓ code block properties +/
if (obj.metainfo.is_a == "code") {
- // if (obj.code_block.syntax.length > 0) {
- // output ~= ".code_syntax: " ~ obj.code_block.syntax;
- // }
if (obj.code_block.linenumbers) {
output ~= ".code_linenumbers: true";
}