MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / reset

Function reset

chirpstack/src/region.rs:65–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65fn reset() {
66 let mut regions_w = REGIONS.write().unwrap();
67 regions_w.clear();
68}
69
70pub fn set(region_config_id: &str, r: Box<dyn region::Region + Sync + Send>) {
71 let mut regions_w = REGIONS.write().unwrap();

Callers 1

setupFunction · 0.70

Calls 1

unwrapMethod · 0.80

Tested by

no test coverage detected