MetadataDir returns the directory that the exercise metadata lives in. For now this is the exercise directory.
()
| 47 | // MetadataDir returns the directory that the exercise metadata lives in. |
| 48 | // For now this is the exercise directory. |
| 49 | func (e Exercise) MetadataDir() string { |
| 50 | return e.Filepath() |
| 51 | } |
| 52 | |
| 53 | // HasMetadata checks for the presence of an exercise metadata file. |
| 54 | // If there is no such file, this may be a legacy exercise. |