Skip to main content

source_prefix

Function source_prefix 

Source
pub fn source_prefix(source: FsIdSource) -> &'static str
Expand description

What: The prefix of one source. Why: The identity text is <prefix><payload>.

In TS you’d write (pseudocode):

SOURCE_PREFIXES[source]