MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / bounded_limit

Function bounded_limit

src/project_cmd.rs:56–58  ·  view source on GitHub ↗
(limit: usize)

Source from the content-addressed store, hash-verified

54}
55
56fn bounded_limit(limit: usize) -> usize {
57 limit.clamp(1, MAX_LIMIT)
58}
59
60async fn project_context(db: &GlobalDb, selector: &str) -> Option<ProjectRegistryContext> {
61 if let Some(context) = db.project_registry_context_by_id(selector).await {

Callers 1

handle_projects_actionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected