Compute and return the directory where a target should be cached.
Base path at which the build cache is located, e.g. $HOME/.dub/cache/
The package. Cannot be null.
The build identifier of the target.
See Implementation
Compute and return the directory where a target should be cached.