pub fn set_scratch_dir(root: PathBuf)Available on crate feature
pager and Unix only.Expand description
Configures the scratch directory for the file backend.
Idempotent across multiple calls with the same path. A different path on a subsequent call is logged and ignored. If the first call fails to initialize the subdir, later calls retry — the scratch directory is committed only after a successful init.