Skip to main content

load_blocklist

Function load_blocklist 

Source
pub fn load_blocklist(
    path: Option<&Path>,
) -> Result<HashSet<String>, SimulationError>
Expand description

Loads blocklisted component IDs from a TOML file.

If path is Some, reads from that file and returns an error if the file is missing or invalid. If None, returns the default blocklist embedded in the library.