From 18bc4f4640171dd2bd439a087ec31ccda35a52ef Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 30 Sep 2026 11:17:30 -0400 Subject: 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) --- src/sisudoc/ocda/meta/doc_matters.d | 22 +++++++++++----------- src/sisudoc/spine.d | 16 ---------------- 2 files changed, 11 insertions(+), 27 deletions(-) (limited to 'src') 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. . -- cgit v1.2.3