aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ocda_obj_setter.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-08-26 22:41:06 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-08-28 10:01:18 -0400
commit8e7a8996944f80ca7e05d743b33deb1ac233f74f (patch)
tree0481181ac87eedd22395e94ac25d0e3e0821f533 /org/ocda_obj_setter.org
parent.ssp: image as repeatable self-describing property (diff)
.ssp digests: report missing or unreadable image
image digest: record missing or unreadable image, do not abort safeComputeHashAndSize() open image with guard, so a document naming an image absent from media/image/ throws ErrnoException out of the abstraction stage. as with _image_dimensions() (which warns and continues where issue with image) warn to stdout and record the fact in the abstraction: .image: ffa.png missing:true the abstraction would now state that the object embeds an image it could not read, rather than the .ssp resemble one produced from a complete pod. The sha256 summary line marks the same case MISSING OR UNREADABLE. (assisted by Claude-Code)
Diffstat (limited to 'org/ocda_obj_setter.org')
-rw-r--r--org/ocda_obj_setter.org1
1 files changed, 1 insertions, 0 deletions
diff --git a/org/ocda_obj_setter.org b/org/ocda_obj_setter.org
index f419954..8e7a67c 100644
--- a/org/ocda_obj_setter.org
+++ b/org/ocda_obj_setter.org
@@ -53,6 +53,7 @@ struct ST_file_name_hash_size_ {
string fileName;
ubyte[32] fileHash_sha256;
ulong fileSize;
+ bool fileMissing = false; // file not found or unreadable, fileHash_sha256 & fileSize unset
}
struct SHA_256_Hashes_ {
char[] summary;