File tree Expand file tree Collapse file tree
packages/devtools_app/benchmark/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import 'dart:convert' ;
66import 'dart:io' ;
77
8- import 'package:devtools_app/src/shared/primitives/utils.dart' ;
98import 'package:web_benchmarks/analysis.dart' ;
109
1110import 'utils.dart' ;
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
44
5+ import 'dart:convert' ;
56import 'dart:io' ;
67
78import 'package:web_benchmarks/analysis.dart' ;
89
10+ /// Returns a pretty-printed representation of a JSON payload.
11+ String prettyPrintJson (Object ? json) =>
12+ const JsonEncoder .withIndent (' ' ).convert (json);
13+
914File ? checkFileExists (String path) {
1015 final testFile = File .fromUri (Uri .parse (path));
1116 if (! testFile.existsSync ()) {
You can’t perform that action at this time.
0 commit comments