getProjectPathForConfig method
Implementation
String getProjectPathForConfig() {
if (_projectPath != null) return _projectPath!;
final gitRoot = _findCanonicalGitRoot(cwd);
_projectPath = _normalizePathForConfigKey(gitRoot ?? p.canonicalize(cwd));
return _projectPath!;
}