Are there any differences between using
@__DIR__ from within the package’s home directory and
Pkg.dir? I understand that
@__DIR__ gives the path to the folder where the current file is in, and
Pkg.dir gives the path to the home directory of the given package, but are there any differences in speed, breakability, robustness, or things one should keep in mind when using one and not the other?