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

Unified Diff: lib/src/io.dart

Issue 1920433002: Create tar files in a cross-platform format. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/io.dart
diff --git a/lib/src/io.dart b/lib/src/io.dart
index 906e5358334630f5e860de2e91ca600f487ee182..fd3d5134e9b6e056c02658dcbd5b73bc99dcc657 100644
--- a/lib/src/io.dart
+++ b/lib/src/io.dart
@@ -1004,6 +1004,9 @@ ByteStream createTarGz(List contents, {baseDir}) {
if (Platform.operatingSystem != "windows") {
var args = [
+ // ustar is the most recent tar format that's compatible across all
+ // OSes.
+ "--format=ustar",
"--create",
"--gzip",
"--directory",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698