This commit is contained in:
Alex Wied
2026-07-10 23:14:50 -04:00
parent 9805c2e623
commit 66d21de8fe
2 changed files with 27 additions and 22 deletions
+2 -2
View File
@@ -295,7 +295,7 @@ WHERE {{
.collect()
}
pub fn datatypes(&self) -> impl Iterator<Item = NamedNode> {
pub fn datatypes(&self) -> BTreeSet<NamedNode> {
self.store
.quads_for_pattern(
None,
@@ -307,7 +307,7 @@ WHERE {{
.filter_map(|quad| match quad.subject {
NamedOrBlankNode::NamedNode(subject) => Some(subject),
_ => None,
})
}).collect()
}
pub fn is_read_only<'a>(&self, triple: impl Into<TripleRef<'a>>) -> bool {