mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-12-22 19:53:49 +01:00
Improves access::init documentation
This commit is contained in:
parent
c742fb0a5d
commit
76ccddb4cb
@ -407,7 +407,7 @@ impl PermissionsProvider {
|
||||
|
||||
}
|
||||
|
||||
/// This line documents init
|
||||
/// Initialize the access db by loading all the lmdb databases
|
||||
pub fn init(log: Logger, config: &Settings, env: &lmdb::Environment) -> std::result::Result<PermissionsProvider, crate::error::Error> {
|
||||
let mut flags = lmdb::DatabaseFlags::empty();
|
||||
flags.set(lmdb::DatabaseFlags::INTEGER_KEY, true);
|
||||
|
Loading…
Reference in New Issue
Block a user