sync: Export DownloadExerciceFile function

This commit is contained in:
nemunaire 2023-11-25 18:38:12 +01:00
commit c3353572e6
3 changed files with 11 additions and 11 deletions

View file

@ -62,7 +62,7 @@ func (i LocalImporter) GetLocalPath(p ...string) string {
func (i LocalImporter) importFile(URI string, next func(string, string) (interface{}, error)) (interface{}, error) {
if i.Symlink {
dest := getDestinationFilePath(URI, nil)
dest := GetDestinationFilePath(URI, nil)
if err := os.MkdirAll(path.Dir(dest), 0751); err != nil {
return nil, err