In some package I do this:
const srcdir = dirname(@__FILE__)
const datadir = joinpath(srcdir, "../data/")
But I expect Windows will not like “…/”. What’s the right way to do this? I had trouble scrounging this from the docs.
In some package I do this:
const srcdir = dirname(@__FILE__)
const datadir = joinpath(srcdir, "../data/")
But I expect Windows will not like “…/”. What’s the right way to do this? I had trouble scrounging this from the docs.
joinpath(srcdir, "..", "data")
Of course. Thanks!