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

Function check_required_capabilities

atomic-core/src/pristine/schema.rs:310–312  ·  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

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

Callers 1

compact_fileFunction · 0.85

Tested by

no test coverage detected