diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-30 11:17:30 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-30 20:06:54 -0400 |
| commit | 18bc4f4640171dd2bd439a087ec31ccda35a52ef (patch) | |
| tree | 992f78151fd802fbf0cae84ec1334fd554ae867a /src/sisudoc | |
| 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)
Diffstat (limited to 'src/sisudoc')
| -rw-r--r-- | src/sisudoc/ocda/meta/doc_matters.d | 22 | ||||
| -rw-r--r-- | src/sisudoc/spine.d | 16 |
2 files changed, 11 insertions, 27 deletions
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. . |
