Oh no, sorry I didn’t realize you meant within the package. For that you can do
pathof(@__MODULE__)
Or, more likely you’ll want to use @__DIR__
which gives the directory of the current file.
Oh no, sorry I didn’t realize you meant within the package. For that you can do
pathof(@__MODULE__)
Or, more likely you’ll want to use @__DIR__
which gives the directory of the current file.