Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: pkg/flash_sd_card/lib/src/platform_service.dart

Issue 1649703002: Update project authors statements to Dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/flash_sd_card/lib/src/context.dart ('k') | pkg/flash_sd_card/test/image_download_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:convert'; 6 import 'dart:convert';
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import 'package:power_management/power_management.dart' as power_management; 9 import 'package:power_management/power_management.dart' as power_management;
10 import 'package:sdk_services/sdk_services.dart'; 10 import 'package:sdk_services/sdk_services.dart';
11 import 'context.dart'; 11 import 'context.dart';
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 var mountDir = await (await ctx.tmpDir).createTemp(); 360 var mountDir = await (await ctx.tmpDir).createTemp();
361 // Explicitly mount the first partition which is the boot partition. 361 // Explicitly mount the first partition which is the boot partition.
362 var partition = device.startsWith('mmcblk') ? '${device}p1' : '${device}1'; 362 var partition = device.startsWith('mmcblk') ? '${device}p1' : '${device}1';
363 var result = await ctx.runProcess('mount', [partition, mountDir.path]); 363 var result = await ctx.runProcess('mount', [partition, mountDir.path]);
364 if (result.exitCode != 0) { 364 if (result.exitCode != 0) {
365 await ctx.failure('Failed to mount $device', result.stderr); 365 await ctx.failure('Failed to mount $device', result.stderr);
366 } 366 }
367 return mountDir; 367 return mountDir;
368 } 368 }
369 } 369 }
OLDNEW
« no previous file with comments | « pkg/flash_sd_card/lib/src/context.dart ('k') | pkg/flash_sd_card/test/image_download_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698