resolveDirectory static method
The .gatekeeper directory at the user's home, or null if the home
directory can't be resolved.
Implementation
static Directory? resolveDirectory() {
final home = resolveUserHome();
if (home == null || home.isEmpty) return null;
return Directory('$home${Platform.pathSeparator}.gatekeeper');
}