getProjectDir function
Get the project directory for session storage.
Implementation
String getProjectDir(String cwd) {
final home =
Platform.environment['HOME'] ?? Platform.environment['USERPROFILE'] ?? '';
return p.join(home, '.neomage', 'projects', _sanitizePath(cwd));
}