Searched refs:remove_file (Results 1 – 6 of 6) sorted by relevance
20 fs::remove_file(&SOCKET_PATH).ok(); in test_unix_stream()35 fs::remove_file(&SOCKET_PATH).ok(); in test_unix_stream()
34 fs::remove_file(symlink_path).expect("Failed to remove symlink"); in main()35 fs::remove_file(target).expect("Failed to remove target file"); in main()
394 self.remove_file(bus, &BusAttrDriversProbe); in add_probe_files()401 self.remove_file(bus, &BusAttrDriversAutoprobe); in remove_probe_files()402 self.remove_file(bus, &BusAttrDriversProbe); in remove_probe_files()414 fn remove_file(&self, bus: &Arc<dyn Bus>, attr: &'static dyn Attribute) { in remove_file() method416 sysfs_instance().remove_file(&bus_kobj, attr); in remove_file()
307 sysfs_instance().remove_file(&kobj, attr); in remove_attr_file()
115 std::fs::remove_file(filename)?; in main()
181 pub fn remove_file(&self, kobj: &Arc<dyn KObject>, attr: &'static dyn Attribute) { in remove_file() method