pub fn queries_repo_dir(
queries_root: impl AsRef<Path>,
repository: &str,
) -> PathBufExpand description
Per-repository query-library directory: {queries_root}/{repository}.
Served by GET /waratah/repositories/{id}/queries when the process runs
with --queries-dir. Each *.rq file in the directory is one published
query (id = filename stem); an optional sibling <stem>.toml sidecar
carries display metadata. There is no {data_dir}-derived default: an
unset --queries-dir means the endpoint is unconfigured (501).
repository must come from the repository catalog, never raw user
input — the HTTP handler checks the catalog before joining (same trust
shape as ingest_staging_dir).