Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Nov 14, 2023
1 parent b061d0b commit af3c54d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
1 change: 1 addition & 0 deletions .earthlyignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ browser/node_modules
**/.temp
.gitignore
Earthfile
browser/Earthfile
.earthlyignore
17 changes: 0 additions & 17 deletions lib/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,6 @@ impl Store {
/// Triple Pattern Fragments interface.
/// Use this for most queries, e.g. finding all items with some property / value combination.
/// Returns an empty array if nothing is found.
///
/// # Example
///
/// For example, if I want to view all Resources that are instances of the class "Property", I'd do:
///
/// ```
/// use atomic_lib::Storelike;
/// let mut store = atomic_lib::Store::init().unwrap();
/// store.populate();
/// let atoms = store.tpf(
/// None,
/// Some("https://atomicdata.dev/properties/isA"),
/// Some(&atomic_lib::Value::AtomicUrl("https://atomicdata.dev/classes/Class".into())),
/// true
/// ).unwrap();
/// assert!(atoms.len() > 11)
/// ```
// Very costly, slow implementation.
// Does not assume any indexing.
fn tpf(
Expand Down

0 comments on commit af3c54d

Please sign in to comment.