MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / check_required_capabilities

Function check_required_capabilities

atomic-core/src/pristine/schema.rs:313–315  ·  view source on GitHub ↗

Refuse requirements unknown to this build without opening a writable database handle. Physical maintenance must perform this check too.

(txn: &ReadTransaction)

Source from the content-addressed store, hash-verified

311/// Refuse requirements unknown to this build without opening a writable
312/// database handle. Physical maintenance must perform this check too.
313pub fn check_required_capabilities(txn: &ReadTransaction) -> PristineResult<()> {
314 super::txn::require_supported_repository_capabilities(txn)
315}
316
317#[cfg(test)]
318mod tests {

Callers 2

inspectFunction · 0.85
compact_fileFunction · 0.85

Tested by

no test coverage detected