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) --- org/spine.org | 38 +++++++++++--------------------------- 1 file changed, 11 insertions(+), 27 deletions(-) (limited to 'org') 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; } -- cgit v1.2.3