26 Feb
2022
26 Feb
'22
4:05 p.m.
On Sat, Feb 26, 2022 at 02:53:46PM +0000, Eliot Kimber scripsit:
But maybe there’s a more direct way that I’ve overlooked?
If you trust the load process, you can get what's on disk with file:list(), and you can get what's in the system with some variation on collection()/document-uri(). You would then have to adjust the path names a little so they've got the same notional root. Once you've done that, $disk[not(. = $system)] tells you which files aren't well-formed. I'd expect this to be pretty brisk, and you don't have to try to parse anything a second time. -- Graydon Saunders | graydonish@gmail.com Þæs oferéode, ðisses swá mæg. -- Deor ("That passed, so may this.")