Skip to content

Commit 588c6b5

Browse files
refactor: switch to new fetch module; remove get_url_contents and warn
Co-authored-by: aider (openai/gpt-5) <[email protected]>
1 parent 87efbba commit 588c6b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/io.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use crate::errors::OfflineRetrievalError;
55
use crate::ontology::{GraphIdentifier, Ontology, OntologyLocation};
66
use crate::options::Overwrite;
7-
use crate::util::{get_file_contents, get_url_contents};
7+
use crate::util::get_file_contents;
88
use anyhow::{anyhow, Error, Result};
99
use chrono::prelude::*;
1010
use fs2::FileExt;

lib/src/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use oxigraph::model::{GraphNameRef, Quad, Triple, TripleRef};
1414

1515
use std::io::BufReader;
1616

17-
use log::{debug, info, warn};
17+
use log::{debug, info};
1818

1919
pub fn get_file_contents(path: &Path) -> Result<(Vec<u8>, Option<RdfFormat>)> {
2020
let b = std::fs::read(path)?;

0 commit comments

Comments
 (0)