gg_project_root 1.0.4 gg_project_root: ^1.0.4 copied to clipboard
Returns the dart project root for a given folder by looking for pubspec_yaml.dart
example/gg_project_root_example.dart
#!/usr/bin/env dart
// @license
// Copyright (c) 2019 - 2024 Dr. Gabriel Gatzsche. All Rights Reserved.
//
// Use of this source code is governed by terms that can be
// found in the LICENSE file in the root of this package.
Future<void> main() async {
print('Look into tests, to see ggProjectRoot in action.');
}