MCPcopy Create free account
hub / github.com/exercism/cli / MetadataDir

Method MetadataDir

workspace/exercise.go:49–51  ·  view source on GitHub ↗

MetadataDir returns the directory that the exercise metadata lives in. For now this is the exercise directory.

()

Source from the content-addressed store, hash-verified

47// MetadataDir returns the directory that the exercise metadata lives in.
48// For now this is the exercise directory.
49func (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.

Callers 1

runDownloadFunction · 0.80

Calls 1

FilepathMethod · 0.95

Tested by

no test coverage detected