Home
last modified time | relevance | path

Searched refs:shadow_file (Results 1 – 1 of 1) sorted by relevance

/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs19 shadow_file: File, field
32 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 …]