We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8efbad commit 07599d0Copy full SHA for 07599d0
lib/src/summary.dart
@@ -62,6 +62,11 @@ class DartFileSummary {
62
/// Whether the file provides a public API for the package users.
63
bool get isPublicApi => isInLib && !isInLibSrc;
64
65
+ /// Whether the file has any local import that point outside of the lib/
66
+ bool get hasOutsideLibDependency =>
67
+ directLibs != null &&
68
+ directLibs.any((String lib) => lib.startsWith('path:'));
69
+
70
Map<String, dynamic> toJson() {
71
var map = <String, dynamic>{
72
'uri': uri,
0 commit comments