Skip to main content

held_by_another_program

Function held_by_another_program 

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

Whether err is Windows refusing a file another program holds: a sharing violation (32, e.g. a spreadsheet open) or locked region (33). Polars rewraps opens keeping the OS text but not the code, so the text is read too. Other OSes: never.