MCPcopy Index your code
hub / github.com/awesome-opencode/awesome-opencode / getAllYamlFiles

Function getAllYamlFiles

scripts/validate.js:20–23  ·  view source on GitHub ↗

* Get all YAML files in the data directory * @returns {string[]} Array of file paths

()

Source from the content-addressed store, hash-verified

18 * @returns {string[]} Array of file paths
19 */
20function getAllYamlFiles() {
21 const pattern = path.join(DATA_DIR, '**/*.yaml');
22 return glob.sync(pattern);
23}
24
25/**
26 * Load and parse a YAML file

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected