Skip to main content

soma_codemode/runner_drive/
local.rs

1pub fn is_local_provider(id: &str) -> bool {
2    id.starts_with("state::") || id.starts_with("git::") || {
3        #[cfg(feature = "openapi")]
4        {
5            id.starts_with("openapi::")
6        }
7        #[cfg(not(feature = "openapi"))]
8        {
9            let _ = id;
10            false
11        }
12    }
13}