Searched refs:shadow_file (Results 1 – 1 of 1) sorted by relevance
19 shadow_file: File, field32 shadow_file: shadow, in new()134 .shadow_file in write_shadow_file()249 let content = read_to_string(&guard.shadow_file); in update_shadow_file()257 guard.shadow_file.set_len(0).unwrap(); in update_shadow_file()258 guard.shadow_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_shadow_file()259 guard.shadow_file.write_all(new_content.as_bytes()).unwrap(); in update_shadow_file()260 guard.shadow_file.flush().unwrap(); in update_shadow_file()416 let content = read_to_string(&guard.shadow_file); in update_shadow_file()427 guard.shadow_file.set_len(0).unwrap(); in update_shadow_file()[all …]