Add context.dirs.workspace getter to ProjectDirs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Chris Hendrickson 2026-04-23 23:16:00 -04:00
parent 53f9493364
commit b27b5f365d

View file

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