Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosdata/cosdata
/ lmdb_init_db
Function
lmdb_init_db
src/models/meta_persist.rs:305–307 ·
view source on GitHub ↗
(env: &Environment, name: &str)
Source
from the content-addressed store, hash-verified
303
}
304
305
pub fn lmdb_init_db(env: &Environment, name: &str) -> lmdb::Result<Database> {
306
env.create_db(Some(name), DatabaseFlags::empty())
307
}
308
309
pub(crate) fn load_collections(
310
env: &Environment,
Callers
1
new
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected