Skip to main content

load

Function load 

Source
pub fn load(session_id: &str) -> SessionWarnings
Expand description

Load session warnings from disk. Returns an empty accumulator on any error.

Takes a shared lock so readers never observe the transient empty state that occurs while record_warning() truncates and rewrites the file.