It is sometimes useful to invoke the watermarking function manually, for instance during pre-build hooks (see here)
To do so, it would be useful to either expose OS.File.write_subst or a new function OS.File.watermark ~input ~output which will read and write directly.
It is sometimes useful to invoke the watermarking function manually, for instance during pre-build hooks (see here)
To do so, it would be useful to either expose
OS.File.write_subst
or a new functionOS.File.watermark ~input ~output
which will read and write directly.