(name: &str)
| 1957 | } |
| 1958 | |
| 1959 | fn env_flag_enabled(name: &str) -> bool { |
| 1960 | let Some(value) = std::env::var_os(name) else { |
| 1961 | return false; |
| 1962 | }; |
| 1963 | !matches!( |
| 1964 | value.to_string_lossy().to_ascii_lowercase().as_str(), |
| 1965 | "" | "0" | "false" | "off" | "no" |
| 1966 | ) |
| 1967 | } |
| 1968 | |
| 1969 | fn maybe_trace_filesystem( |
| 1970 | inner: Arc<dyn virtual_fs::FileSystem + Send + Sync>, |