Function is_database_empty

pub fn is_database_empty<P>(path: P) -> bool
where P: AsRef<Path>,
Available on crate feature provider only.
Expand description

Check if a db is empty. It does not provide any information on the validity of the data in it. We consider a database as non empty when it’s a non empty directory.