From b27b5f365d020197f3770e0e57fd98c7047fa364 Mon Sep 17 00:00:00 2001 From: Chris Hendrickson Date: Thu, 23 Apr 2026 23:16:00 -0400 Subject: [PATCH] Add context.dirs.workspace getter to ProjectDirs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- packages/core/lib/src/config.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/core/lib/src/config.dart b/packages/core/lib/src/config.dart index dd48aee..7f32676 100644 --- a/packages/core/lib/src/config.dart +++ b/packages/core/lib/src/config.dart @@ -22,6 +22,9 @@ class ProjectDirs { final String _root; const ProjectDirs(this._root); + /// The workspace root (where `.project/` lives). + String get workspace => _root; + /// `.project/` directory. String get project => p.join(_root, '.project'); }