DefinitionFileStore discovers the definition files from disk searching for the definitions/ folder and returns the data for a particular definition file.
| 13 | // DefinitionFileStore discovers the definition files from disk searching for |
| 14 | // the definitions/ folder and returns the data for a particular definition file. |
| 15 | type DefinitionFileStore struct { |
| 16 | directory string |
| 17 | embedded embed.FS |
| 18 | files []string |
| 19 | definitions []DefinitionData |
| 20 | } |
| 21 | |
| 22 | const DefinitionsDirectory = "definitions" |
| 23 |
nothing calls this directly
no outgoing calls
no test coverage detected