aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/meta_debugs.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-09-07 16:54:23 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit4ff01a81f048c0b496cc03627324b69b7aebd368 (patch)
treeacc9ff9a86b696b294980ef051de56c95bd9a045 /org/meta_debugs.org
parentsqlite, introduced, far to go (diff)
0.19.0 conf make meta, composite struct, instead of associative array
* remove conf make meta associative arrays, including native doc header (which revisit)
Diffstat (limited to 'org/meta_debugs.org')
-rw-r--r--org/meta_debugs.org44
1 files changed, 22 insertions, 22 deletions
diff --git a/org/meta_debugs.org b/org/meta_debugs.org
index 6a6f1fa..8d11c89 100644
--- a/org/meta_debugs.org
+++ b/org/meta_debugs.org
@@ -502,19 +502,19 @@ debug(headermakejson) {
writefln(
"%s\n%s\n%s",
"document header, metadata & make instructions:",
- doc_matters.dochead_meta,
+ doc_matters.conf_make_meta.meta,
ptr_head_main,
);
foreach (main_header; ptr_head_main) {
switch (main_header) {
case "make":
foreach (sub_header; ptr_head_sub_make) {
- if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) {
+ if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- doc_matters.dochead_meta[main_header][sub_header]
+ doc_matters.conf_make_meta.meta.title_full
);
}
}
@@ -534,115 +534,115 @@ debug(headermetadatajson) {
writefln(
"%s\n%s\n%s",
"document header, metadata & make instructions:",
- doc_matters.dochead_meta,
+ doc_matters.conf_make_meta.meta,
ptr_head_main,
);
foreach (main_header; ptr_head_main) {
switch (main_header) {
case "creator":
foreach (sub_header; ptr_head_sub_creator) {
- if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) {
+ if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- doc_matters.dochead_meta[main_header][sub_header]
+ doc_matters.conf_make_meta.meta.title_full,
);
}
}
break;
case "title":
foreach (sub_header; ptr_head_sub_title) {
- if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) {
+ if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- doc_matters.dochead_meta[main_header][sub_header]
+ doc_matters.conf_make_meta.meta.title_full
);
}
}
break;
case "rights":
foreach (sub_header; ptr_head_sub_rights) {
- if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) {
+ if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- doc_matters.dochead_meta[main_header][sub_header]
+ doc_matters.conf_make_meta.meta.title_full
);
}
}
break;
case "date":
foreach (sub_header; ptr_head_sub_date) {
- if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) {
+ if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- doc_matters.dochead_meta[main_header][sub_header]
+ doc_matters.conf_make_meta.meta.title_full
);
}
}
break;
case "original":
foreach (sub_header; ptr_head_sub_original) {
- if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) {
+ if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- doc_matters.dochead_meta[main_header][sub_header]
+ doc_matters.conf_make_meta.meta.title_full
);
}
}
break;
case "classify":
foreach (sub_header; ptr_head_sub_classify) {
- if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) {
+ if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- doc_matters.dochead_meta[main_header][sub_header]
+ doc_matters.conf_make_meta.meta.title_full
);
}
}
break;
case "identifier":
foreach (sub_header; ptr_head_sub_identifier) {
- if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) {
+ if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- doc_matters.dochead_meta[main_header][sub_header]
+ doc_matters.conf_make_meta.meta.title_full
);
}
}
break;
case "notes":
foreach (sub_header; ptr_head_sub_notes) {
- if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) {
+ if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- doc_matters.dochead_meta[main_header][sub_header]
+ doc_matters.conf_make_meta.meta.title_full
);
}
}
break;
case "publisher":
foreach (sub_header; ptr_head_sub_publisher) {
- if (doc_matters.dochead_meta[main_header][sub_header].to!string.length > 2) {
+ if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- doc_matters.dochead_meta[main_header][sub_header]
+ doc_matters.conf_make_meta.meta.title_full
);
}
}