Filepath is the absolute path on the filesystem.
()
| 31 | |
| 32 | // Filepath is the absolute path on the filesystem. |
| 33 | func (e Exercise) Filepath() string { |
| 34 | return filepath.Join(e.Root, e.Track, e.Slug) |
| 35 | } |
| 36 | |
| 37 | // MetadataFilepath is the absolute path to the exercise metadata. |
| 38 | func (e Exercise) MetadataFilepath() string { |
no outgoing calls
no test coverage detected