asimov-directory 25.2.0

ASIMOV Software Development Kit (SDK) for Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// This is free and unencumbered software released into the public domain.

/// A module directory in the abstract.
pub trait ModuleDirectory {
    /// Checks if a module is installed.
    fn is_installed(&self, _module_name: impl AsRef<str>) -> bool {
        false
    }

    /// Checks if a module is installed and enabled.
    fn is_enabled(&self, _module_name: impl AsRef<str>) -> bool {
        false
    }
}