getProjectDir function

String getProjectDir(
  1. String cwd
)

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));
}