cartulary 0.3.0-alpha.1

The knowledge layer of your project — decisions, issues, docs, all in one place.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::domain::model::query::Queries;

/// Port: enumerate every query the workspace exposes, each
/// already populated with its script body and (optionally) its
/// description. A missing or empty query directory yields an empty
/// collection (not an error).
///
/// Single-method on purpose — the corpus is small enough that loading
/// every script is cheap, and one source of truth keeps lookups
/// consistent with listings.
pub trait QueryStore {
    fn list(&self) -> anyhow::Result<Queries>;
}