admin: Export more importer functions

This commit is contained in:
nemunaire 2023-11-25 17:13:31 +01:00
parent 092256d9e5
commit 1f833d39fc
7 changed files with 26 additions and 26 deletions

View file

@ -76,7 +76,7 @@ func BuildFilesListInto(i Importer, exercice *fic.Exercice, into string) (files
}
// Read file list
if flist, err := i.listDir(path.Join(exercice.Path, into)); err != nil {
if flist, err := i.ListDir(path.Join(exercice.Path, into)); err != nil {
errs = multierr.Append(errs, NewExerciceError(exercice, err))
} else {
for _, fname := range flist {