You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a5e438f
Browse filesBrowse the repository at this point in the historyBrowse files
thumbs: logos already in manifest.shared count toward the three (#246); check-added compares UTC days (#247)
sharedImageIds takes the shared map as known records, so one new entry from
a site whose logo was dropped earlier is dropped too. check-added reads the
commit time as a UTC day, the clock new-entry writes added with, so an
evening commit west of UTC no longer fails a correct entry.
Closes#246Closes#247
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpkeXQPaUhxjgqdqnk6BrJ
// #246: hashes already recorded in manifest.shared count toward the three.
1176
+
eq("thumbs: one new record matching a known shared hash is dropped",[...sharedImageIds({d: {hash: "h"},e: {hash: "x"}},{a: {hash: "h"},b: {hash: "h"},c: {hash: "h"}})].join(),"d");
1177
+
eq("thumbs: known shared ids never returned",[...sharedImageIds({d: {hash: "h"}},{a: {hash: "h"},b: {hash: "h"}})].sort().join(),"d");
1178
+
eq("thumbs: a shared record for an id now in thumbs is not counted twice",[...sharedImageIds({a: {hash: "h"}},{a: {hash: "h"},b: {hash: "h"}})].join(),"");
1175
1179
{
1176
1180
// #232: a run that re-drops the same shared images changes nothing.
0 commit comments