sync: Expose GetFile and GetFileContent functions

This commit is contained in:
nemunaire 2022-05-24 21:52:58 +02:00
commit 560110ba5e
6 changed files with 21 additions and 21 deletions

View file

@ -75,7 +75,7 @@ type ExerciceParams struct {
// parseExerciceParams reads challenge definitions from defines.txt and extract usefull data to set up the challenge.
func parseExerciceParams(i Importer, exPath string) (p ExerciceParams, md toml.MetaData, err error) {
var defs string
defs, err = getFileContent(i, path.Join(exPath, "challenge.txt"))
defs, err = GetFileContent(i, path.Join(exPath, "challenge.txt"))
if err != nil {
return
}