gg_project_root 1.0.4 copy "gg_project_root: ^1.0.4" to clipboard
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.');
}
1
likes
150
points
770
downloads

Publisher

verified publisherinlavigo.com

Weekly Downloads

Returns the dart project root for a given folder by looking for pubspec_yaml.dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, colorize, gg_args, gg_log, gg_process, path

More

Packages that depend on gg_project_root