From 8e7a8996944f80ca7e05d743b33deb1ac233f74f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 26 Aug 2026 22:41:06 -0400 Subject: .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) --- org/ocda_obj_setter.org | 1 + 1 file changed, 1 insertion(+) (limited to 'org/ocda_obj_setter.org') 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; -- cgit v1.2.3