Searched refs:db_path (Results 1 – 3 of 3) sorted by relevance
260 db_path: PathBuf, field267 db_path: PathBuf, field282 let mut db_path = path.to_path_buf(); in new_native_binder() localVariable283 db_path.push(Self::LEGACY_KEYSTORE_FILE_NAME); in new_native_binder()285 let legacy_keystore = Arc::new(Self { db_path, async_task: Default::default() }); in new_native_binder()295 DB::new(&self.db_path).context("In open_db: Failed to open db.") in open_db()403 let mut db_path = path.to_path_buf(); in init_shelf() localVariable405 let legacy_loader = LegacyBlobLoader::new(&db_path); in init_shelf()406 db_path.push(Self::LEGACY_KEYSTORE_FILE_NAME); in init_shelf()408 shelf.put(AsyncState { legacy_loader, db_path, recently_imported: Default::default() }); in init_shelf()[all …]
82 let db_path = Path::new(&dir); in main() localVariable84 db_path.to_path_buf(); in main()85 IdRotationState::new(db_path) in main()
61 let db_path = DB_PATH.read().expect("Could not get the database directory."); in create_thread_local_db() localVariable63 let mut db = KeystoreDB::new(&db_path, Some(GC.clone())).expect("Failed to open database."); in create_thread_local_db()