Skip to main content

is_out_of_space

Function is_out_of_space 

Source
pub fn is_out_of_space(err: &Error) -> bool
Expand description

Returns true when an io::Error indicates the filesystem is out of space. Centralised here because it’s the same predicate used by write_file_atomic (the inner helper) and by the higher-level cmd_snapshot recovery path that prints the actionable message.