mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
Fmt
This commit is contained in:
@@ -212,7 +212,10 @@ fn parse_agent_content(content: &str, path: PathBuf) -> Option<Source> {
|
||||
|
||||
/// Scan a directory for skill subdirectories containing SKILL.md files.
|
||||
/// Returns discovered skills, skipping any whose names are already in `seen`.
|
||||
pub fn scan_skills_from_dir(dir: &Path, seen: &mut std::collections::HashSet<String>) -> Vec<Source> {
|
||||
pub fn scan_skills_from_dir(
|
||||
dir: &Path,
|
||||
seen: &mut std::collections::HashSet<String>,
|
||||
) -> Vec<Source> {
|
||||
let mut sources = Vec::new();
|
||||
let entries = match std::fs::read_dir(dir) {
|
||||
Ok(e) => e,
|
||||
|
||||
Reference in New Issue
Block a user