INNER CODE UNIT · Rust

flush

gosub-io/gosub-engine · crates/gosub_config/src/lib.rs:171

    pub fn flush(&self) -> Result<()> {
        self.0.read().flush()
    }

    /// Returns true when the store knows about the given key.
    #[must_use]
    pub fn has(&self, key: &str) -> bool {
        self.0.read().has(key)
    }

    /// Returns true when the given key was explicitly set (or loaded from
    /// storage), even to a value equal to its default.
    #[must_use]
    pub fn is_overridden(&self, key: &str) -> bool {
        self.0.read().is_overridden(key)
    }

    /// Returns the keys matching the given wildcard search (`*`/`?`).

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…