sync: Export DownloadExerciceFile function
This commit is contained in:
parent
f3cdf1afca
commit
c3353572e6
3 changed files with 11 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue