Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
65
fn reset() {
66
let mut regions_w = REGIONS.write().unwrap();
67
regions_w.clear();
68
}
69
70
pub fn set(region_config_id: &str, r: Box<dyn region::Region + Sync + Send>) {
71
let mut regions_w = REGIONS.write().unwrap();
Callers
1
setup
Function · 0.70
Calls
1
unwrap
Method · 0.80
Tested by
no test coverage detected