Skip to main content

probing

Function probing 

Source
pub fn probing<T>(f: impl FnOnce() -> T) -> T
Expand description

Run f, a test of whether a file exists (\IfFileExists, \openin, \pdffilesize): a name refused on the way is a Warning and the document takes its not-found branch; a refused read stays an Error (DG 2026-11-26). The severity follows the construct, never whether the file exists.