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

Unified Diff: utils/archive/archive.dart

Issue 10842002: Add the beginnings of a Dart wrapper for libarchive. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge Created 8 years, 5 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 | « utils/archive/Makefile ('k') | utils/archive/dart_archive.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/archive/archive.dart
diff --git a/utils/archive/archive.dart b/utils/archive/archive.dart
new file mode 100644
index 0000000000000000000000000000000000000000..99ed17010dc090b892c3ba438df5be1059df77e5
--- /dev/null
+++ b/utils/archive/archive.dart
@@ -0,0 +1,25 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+/**
+ * The primary library file for the archive library. This is the only file that
+ * should be imported by clients.
+ */
+#library("archive");
+
+#import("reader.dart", prefix: "reader");
+
+// TODO(nweiz): Remove this when 3071 is fixed.
+/** An error raised by the archive library. */
+interface ArchiveException {
+ /** A description of the error that occurred. */
+ final String message;
+
+ /** The error code for the error, or null. */
+ final int errno;
+}
+
+// TODO(nweiz): Remove this when 3071 is fixed.
+/** See [reader.ArchiveReader]. */
+class ArchiveReader extends reader.ArchiveReader {}
« no previous file with comments | « utils/archive/Makefile ('k') | utils/archive/dart_archive.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698