MCPcopy Create free account
hub / github.com/FastLED/FastLED / is_std_bridge_file

Function is_std_bridge_file

ci/lint_cpp_rs/src/lib.rs:2524–2529  ·  view source on GitHub ↗
(file_path: &str)

Source from the content-addressed store, hash-verified

2522}
2523
2524fn is_std_bridge_file(file_path: &str) -> bool {
2525 let normalized = normalize_path(file_path);
2526 STD_BRIDGE_FILE_WHITELIST
2527 .iter()
2528 .any(|bridge_path| normalized.ends_with(bridge_path))
2529}
2530
2531fn line_has_only_allowed_std_symbols(line: &str) -> bool {
2532 let code_part = split_line_comment(line);

Callers 1

should_process_fileMethod · 0.85

Calls 3

normalize_pathFunction · 0.70
anyMethod · 0.65
ends_withMethod · 0.45

Tested by

no test coverage detected