File tree Expand file tree Collapse file tree
packages/devtools_shared/lib/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8686 - name : Run dcm checks on packages
8787 # TODO(https://github.com/flutter/devtools/issues/9906): run on all DevTools packages.
8888 run : |
89- dcm check-unused-code packages/devtools_app --exclude-public-api
89+ dcm check-unused-code packages/devtools_app packages/devtools_shared --exclude-public-api
9090
9191 test-packages :
9292 name : ${{ matrix.os }} ${{ matrix.package }} test
Original file line number Diff line number Diff line change @@ -7,16 +7,10 @@ import 'file_system.dart';
77/// Provides access to the local Flutter store (~/.flutter).
88class FlutterStore {
99 static const storeName = '.flutter' ;
10- static const firstRunKey = 'firstRun' ;
11- static const gaEnabledKey = 'enabled' ;
1210 static const flutterClientIdKey = 'clientId' ;
1311
1412 final properties = IOPersistentProperties (storeName);
1513
16- bool get isFirstRun => properties[firstRunKey] == true ;
17-
18- bool get gaEnabled => properties[gaEnabledKey] == true ;
19-
2014 String get flutterClientId =>
2115 (properties[flutterClientIdKey] as String ? ) ?? '' ;
2216}
Original file line number Diff line number Diff line change 55import 'package:dtd/dtd.dart' ;
66import 'package:meta/meta.dart' ;
77
8+ // ignore: unused-code, false positive.
89const _fileUriPrefix = 'file://' ;
910
1011/// Attempts to detect the package root of [fileUriString] , which is expected to
You can’t perform that action at this time.
0 commit comments