Skip to content

Commit a771c26

Browse files
committed
expose io
1 parent d0470a7 commit a771c26

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ members = [
77
resolver = "2"
88

99
[workspace.package]
10-
version = "0.2.2-a3"
10+
version = "0.2.2-a4"
1111
authors = ["Gabe Fierro <[email protected]>"]
1212
license = "BSD-3-Clause"
1313
edition = "2021"
@@ -35,7 +35,7 @@ clap = { version = "4.4.18", features = ["derive"] }
3535
derive_builder = "0.20"
3636
oxigraph = "0.4.4"
3737

38-
ontoenv = { version = "0.2.2-a3", path = "lib" }
38+
ontoenv = { version = "0.2.2-a4", path = "lib" }
3939

4040
[profile.profiling]
4141
inherits = "release"

lib/src/api.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ impl OntoEnv {
105105
Ok(Self::new(Environment::new(), io, config))
106106
}
107107

108+
pub fn io(&self) -> &Box<dyn GraphIO> {
109+
&self.io
110+
}
111+
108112
/// returns the graph identifier for the given resolve target, if it exists
109113
pub fn resolve(&self, target: ResolveTarget) -> Option<GraphIdentifier> {
110114
match target {

0 commit comments

Comments
 (0)