Skip to main content

sim_table_mount/
capabilities.rs

1//! Capability names used by mounted Table/Dir namespaces.
2
3use sim_kernel::CapabilityName;
4
5/// Capability required to create or mutate a mounted namespace registry.
6pub fn table_mount_capability() -> CapabilityName {
7    CapabilityName::new("table.mount")
8}
9
10#[cfg(test)]
11mod tests {
12    use super::table_mount_capability;
13
14    #[test]
15    fn capability_token_is_stable() {
16        assert_eq!(table_mount_capability().as_str(), "table.mount");
17    }
18}