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

Function redis_key

chirpstack/src/storage/mod.rs:232–235  ·  view source on GitHub ↗
(s: String)

Source from the content-addressed store, hash-verified

230}
231
232pub fn redis_key(s: String) -> String {
233 let prefix = REDIS_PREFIX.read().unwrap();
234 format!("{}{}", prefix, s)
235}
236
237#[cfg(test)]
238pub async fn reset_db() -> Result<()> {

Callers 15

saveFunction · 0.85
getFunction · 0.85
deleteFunction · 0.85
get_keyFunction · 0.85
save_stateFunction · 0.85
get_stateFunction · 0.85
get_rx_infoFunction · 0.85
get_rx_info_for_dev_euisFunction · 0.85
saveFunction · 0.85
get_and_delFunction · 0.85

Calls 1

unwrapMethod · 0.80

Tested by 3

uplink_meta_logFunction · 0.68
device_uplink_frame_logFunction · 0.68
test_log_requestFunction · 0.68