What Root reaches for, injected so a caller can supply their own.
The filesystem used to be here too, and is not any more.toFile writes
the file where it encodes it rather than handing bytes back, so there is
nothing left for an injected writer to receive; the native surface is the
one seam, and it is the seam a test wanted anyway.
What
Rootreaches for, injected so a caller can supply their own.The filesystem used to be here too, and is not any more.
toFilewrites the file where it encodes it rather than handing bytes back, so there is nothing left for an injected writer to receive; the native surface is the one seam, and it is the seam a test wanted anyway.