MCPcopy Create free account
hub / github.com/AI45Lab/Code / with_builtin_programs

Method with_builtin_programs

core/src/program.rs:664–670  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

662 }
663
664 pub fn with_builtin_programs() -> Self {
665 let mut catalog = Self::new();
666 for template in builtin_program_templates() {
667 catalog.register(template);
668 }
669 catalog
670 }
671
672 pub fn register(&mut self, template: ProgramTemplate) {
673 self.insert(template);

Callers

nothing calls this directly

Calls 2

registerMethod · 0.45

Tested by

no test coverage detected