Index: utils/archive/options.dart |
diff --git a/utils/archive/options.dart b/utils/archive/options.dart |
index 102b9f5a8c2867ad29912606149acb096c24e0be..cfdddb5a5a0184b6d87cafc7bb744bb8b46d556e 100644 |
--- a/utils/archive/options.dart |
+++ b/utils/archive/options.dart |
@@ -47,18 +47,6 @@ class ArchiveOptions { |
return _options[name]; |
} |
- /** |
- * Serializes the options to the format understood by libarchive. |
- * |
- * Meant for internal use. |
- */ |
- String serialize() { |
- return Strings.join(_options.getValues().map((option) { |
- if (option.value is Boolean) { |
- return '${option.value ? '!' : ''}${option.name}'; |
- } else { |
- return '${option.name}=${option.value}'; |
- } |
- }), ','); |
- } |
+ /** Gets all options. */ |
+ List<ArchiveOption> get all() => _options.getValues(); |
} |