Public declaration syntax from harness-sdk/src/plugins/host_functions.rs Original source SHA-256: 1ad5ca6964c607f86dbe940204e26606693d0a61a080c932fde248f5e1a0992f Function bodies and constant values are omitted. This is not the complete implementation. Source line 16 pub fn check_capability( permissions: &PermissionManager, plugin: &str, capability: &Capability, ) -> Result; Source line 35 #[derive(Debug, Clone, PartialEq, Eq)] pub enum CapabilityCheckResult { /// The capability is allowed. Allowed, /// The user needs to be prompted. NeedsPrompt, } Source line 49 pub fn validate_file_path(plugin: &str, path: &str) -> Result; Source line 76 #[must_use] pub fn scoped_storage_key(plugin: &str, key: &str) -> String;