Skip to main content

target_store

Function target_store 

Source
pub fn target_store<'a>(c: &'a Cause, reading_store: &'a str) -> &'a str
Expand description

Resolve a cause to the store it should be read from.

Local causes resolve to the reading store; qualified ones to their own. This is the whole point of the module in one function: a caller holding a Cause and knowing where it is reading from never has to decide what an unqualified hash means.