Skip to main content

has_room

Function has_room 

Source
pub fn has_room(file: &Path) -> bool
Expand description

Whether there’s room to keep writing to file (or into the directory file). true when the guard is off or the space can’t be read.