I am having some “strange” behaviours, that I can’t reproduce in a consistent matter, while trying to install the Download module in a package, so I am asking if this is the suggested way to add download functionality in a package I am developing in ~/.julia/dev/Foo
:
- Within the Foo pkg environment do
]add Downloads
- At the beginning of the package source do
import Downloads
- When needed, call the
Downloads.download(url,dest)
function
Right ?