canFindWorkspaceRoot property
bool
get
canFindWorkspaceRoot
True if we can find a pubspec.yaml
to resolve in workingDir or any
parent directory.
Implementation
bool get canFindWorkspaceRoot {
try {
_getPackages;
return true;
} on FileException {
return false;
}
}