getTmpPath function

SafePath getTmpPath()

Get the tmp folder path. This is used for the download of docker layers. It will be created if it does not exist.

e.g. C:\WSL2-Distros\tmp

Implementation

SafePath getTmpPath() {
  return getDistroPath()
    ..cdUp()
    ..cd('tmp');
}