aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-09-21 13:03:03 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-09-22 15:11:02 -0400
commitea1162e5cf6182ad296b4775c7acfb51ac435842 (patch)
treef72e52aac4f2950e36d1c17d7cd974b4942de727 /src/sisudoc
parentocda db: now carry markup source, conf & manifest (diff)
test: the carried markup, by rebuilding its digest
Check that they are the right files: source.digest is the sha256 over one line per markup file, "<SHA256> <basename>", sorted and newline joined, so the same value can be computed from the stored rows alone and held against what the .ssp recorded. A file stored under the right name with the wrong contents passes a count and fails this. Two details the shell gets wrong by default: the sort has to be LC_ALL=C, because the writer sorts by byte and a locale does not, and the lines are joined with no trailing newline, so printf and not echo. (assisted by Claude-Code)
Diffstat (limited to 'src/sisudoc')
0 files changed, 0 insertions, 0 deletions