initSessionDir function

void initSessionDir(
  1. String projectPath
)

Override the session directory (e.g. from --project). The path is resolved to absolute so that detached processes (launcher script, log collector) can find it regardless of their CWD.

Implementation

void initSessionDir(String projectPath) {
  final absolute = Directory(projectPath).absolute.path;
  _sessionDir = '$absolute/$sessionDirName';
}