aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/io_in/paths_source.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sisudoc/io_in/paths_source.d')
-rw-r--r--src/sisudoc/io_in/paths_source.d26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/sisudoc/io_in/paths_source.d b/src/sisudoc/io_in/paths_source.d
index d5fafa3..2c0d545 100644
--- a/src/sisudoc/io_in/paths_source.d
+++ b/src/sisudoc/io_in/paths_source.d
@@ -54,16 +54,14 @@
+/
module sisudoc.io_in.paths_source;
@safe:
-import
- std.array,
- std.file,
- std.path,
- std.regex,
- std.stdio,
- std.conv : to;
-import
- sisudoc.meta.defaults,
- sisudoc.meta.rgx_files;
+import std.array;
+import std.file;
+import std.path;
+import std.regex;
+import std.stdio;
+import std.conv : to;
+import sisudoc.meta.defaults;
+import sisudoc.meta.rgx_files;
template PodManifest() {
mixin spineRgxFiles;
static auto rgx_files = RgxFiles();
@@ -90,8 +88,10 @@ template PodManifest() {
_manifest_path = m.captures["podpath"];
}
} else {
- if (_opt_action.vox_gt1 || _opt_action.debug_do) {
- writeln("WARNING, src is not a pod, issue with manifest_path: ", _pth); // remove? unless can distinguish pod
+ if (_opt_action.vox_gt_3 || _opt_action.debug_do) {
+ if (exists(_pth) == 0 && (_pth.isFile)) {
+ writeln("WARNING, src file is not .sst or .ssm (nor is it a pod directory): ", _pth); // remove? unless can distinguish pod
+ }
}
_manifest_path = "";
}
@@ -108,7 +108,7 @@ template PodManifest() {
_k = pod_manifest_path;
}
if (exists(_k)==0) {
- writeln("ERROR >> Processing Skipped! Manifest not found: ", _k);
+ // writeln("ERROR >> Processing Skipped! Manifest not found: ", _k);
_k = null;
}
return _k;