Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions crates/codegraph-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ pub mod import_resolution;
pub mod incremental;
pub mod insert_nodes;
pub mod native_db;
pub mod read_queries;
pub mod read_types;
pub mod parallel;
pub mod parser_registry;
pub mod roles_db;
Expand Down
2 changes: 1 addition & 1 deletion crates/codegraph-core/src/native_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ impl NativeDatabase {

impl NativeDatabase {
/// Get a reference to the open connection, or error if closed.
fn conn(&self) -> napi::Result<&Connection> {
pub(crate) fn conn(&self) -> napi::Result<&Connection> {
self.conn
.as_ref()
.ok_or_else(|| napi::Error::from_reason("NativeDatabase is closed"))
Expand Down
Loading
Loading