aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-09-30 11:17:30 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-09-30 20:06:54 -0400
commit18bc4f4640171dd2bd439a087ec31ccda35a52ef (patch)
tree992f78151fd802fbf0cae84ec1334fd554ae867a
parent--version, as an option (diff)
unused function removed
- meta_processing_general() in spine.d replaced by per-stage predicates. - doc_matters.generated_time() commented out, unused since the odt and epub clock stamps were removed. (assisted by Claude-Code)
-rw-r--r--org/spine.org38
-rw-r--r--src/sisudoc/ocda/meta/doc_matters.d22
-rw-r--r--src/sisudoc/spine.d16
3 files changed, 22 insertions, 54 deletions
diff --git a/org/spine.org b/org/spine.org
index cac3a75..fa60206 100644
--- a/org/spine.org
+++ b/org/spine.org
@@ -1609,22 +1609,6 @@ struct OptActions {
|| skel
) ? true : false;
}
- @trusted bool meta_processing_general() {
- return (
- opts["abstraction"]
- || show_abstraction
- || ocda_db
- || curate
- || html
- || epub
- || odt
- || latex
- || sqlite_discrete
- || sqlite_update
- || text
- || skel
- ) ? true :false;
- }
/+ ↓ the dom structure tags, which the .ssp records and which are only
computed when something needs them.
.
@@ -2819,17 +2803,17 @@ template spineDocMatters() {
_now.year, _now.month.to!int, _now.day,
_now.hour, _now.minute, _now.second);
}
- auto generated_time() {
- auto _st = Clock.currTime(UTC());
- auto _time = _st.year.to!string
- ~ "-" ~ _st.month.to!int.to!string // prefer as month number
- ~ "-" ~ _st.day.to!string
- ~ " [" ~ _st.isoWeek.to!string ~ "/" ~ _st.dayOfWeek.to!int.to!string ~ "]"
- ~ " " ~ _st.hour.to!string
- ~ ":" ~ _st.minute.to!string
- ~ ":" ~ _st.second.to!string;
- return _time;
- }
+ // auto generated_time() { // UNUSED
+ // auto _st = Clock.currTime(UTC());
+ // auto _time = _st.year.to!string
+ // ~ "-" ~ _st.month.to!int.to!string // prefer as month number
+ // ~ "-" ~ _st.day.to!string
+ // ~ " [" ~ _st.isoWeek.to!string ~ "/" ~ _st.dayOfWeek.to!int.to!string ~ "]"
+ // ~ " " ~ _st.hour.to!string
+ // ~ ":" ~ _st.minute.to!string
+ // ~ ":" ~ _st.second.to!string;
+ // return _time;
+ // }
ConfComposite conf_make_meta() {
return _make_and_meta_struct;
}
diff --git a/src/sisudoc/ocda/meta/doc_matters.d b/src/sisudoc/ocda/meta/doc_matters.d
index ff528d5..0463e01 100644
--- a/src/sisudoc/ocda/meta/doc_matters.d
+++ b/src/sisudoc/ocda/meta/doc_matters.d
@@ -188,17 +188,17 @@ template spineDocMatters() {
_now.year, _now.month.to!int, _now.day,
_now.hour, _now.minute, _now.second);
}
- auto generated_time() {
- auto _st = Clock.currTime(UTC());
- auto _time = _st.year.to!string
- ~ "-" ~ _st.month.to!int.to!string // prefer as month number
- ~ "-" ~ _st.day.to!string
- ~ " [" ~ _st.isoWeek.to!string ~ "/" ~ _st.dayOfWeek.to!int.to!string ~ "]"
- ~ " " ~ _st.hour.to!string
- ~ ":" ~ _st.minute.to!string
- ~ ":" ~ _st.second.to!string;
- return _time;
- }
+ // auto generated_time() { // UNUSED
+ // auto _st = Clock.currTime(UTC());
+ // auto _time = _st.year.to!string
+ // ~ "-" ~ _st.month.to!int.to!string // prefer as month number
+ // ~ "-" ~ _st.day.to!string
+ // ~ " [" ~ _st.isoWeek.to!string ~ "/" ~ _st.dayOfWeek.to!int.to!string ~ "]"
+ // ~ " " ~ _st.hour.to!string
+ // ~ ":" ~ _st.minute.to!string
+ // ~ ":" ~ _st.second.to!string;
+ // return _time;
+ // }
ConfComposite conf_make_meta() {
return _make_and_meta_struct;
}
diff --git a/src/sisudoc/spine.d b/src/sisudoc/spine.d
index baae14c..f05038e 100644
--- a/src/sisudoc/spine.d
+++ b/src/sisudoc/spine.d
@@ -1162,22 +1162,6 @@ Verifying:
|| skel
) ? true : false;
}
- @trusted bool meta_processing_general() {
- return (
- opts["abstraction"]
- || show_abstraction
- || ocda_db
- || curate
- || html
- || epub
- || odt
- || latex
- || sqlite_discrete
- || sqlite_update
- || text
- || skel
- ) ? true :false;
- }
/+ ↓ the dom structure tags, which the .ssp records and which are only
computed when something needs them.
.