Igor Anić
614161a7cf
std.tar make iterator interface more ergonomic
...
for the then end users:
1. Don't require user to call file.skip() on file returned from
iterator.next if file is not read. Iterator will now handle this.
Previously that returned header parsing error, without knowing some tar
internals it is hard to understand what is required from user.
2. Use iterator.File.kind enum which is similar to fs.File.Kind,
something familiar. Internal Header.Kind has many types which are not
exposed but the user needs to have else in kind switch to cover those
cases.
3. Add reader interface to the iterator.File.
2024-03-11 12:22:12 +01:00
..
2024-03-06 17:52:05 -08:00
2024-03-08 08:02:45 +00:00
2024-03-04 09:53:01 +01:00
2024-03-11 09:00:15 +01:00
2024-02-18 14:11:06 +01:00
2024-02-26 15:18:31 -08:00
2024-02-29 17:55:27 -08:00
2024-02-08 15:21:35 +01:00
2024-02-26 15:18:31 -08:00
2024-03-02 14:34:43 -08:00
2024-03-10 17:51:06 -07:00
2024-02-26 15:18:31 -08:00
2024-02-26 15:18:31 -08:00
2023-09-07 21:56:57 +03:00
2024-01-09 20:09:39 -05:00
2024-02-23 02:37:11 -07:00
2024-03-08 08:02:45 +00:00
2024-02-26 15:18:31 -08:00
2023-11-19 09:55:07 +00:00
2024-03-11 12:22:12 +01:00
2024-02-02 20:43:01 -07:00
2023-09-06 19:06:32 +03:00
2024-03-10 17:51:07 -07:00
2023-06-24 16:56:39 -07:00
2023-06-24 16:56:39 -07:00
2023-10-03 02:51:01 -07:00
2024-03-07 18:41:45 -08:00
2023-11-22 13:24:27 -05:00
2024-02-26 15:18:31 -08:00
2023-11-22 19:08:55 -07:00
2024-03-10 18:13:30 -07:00
2023-11-04 14:25:50 -04:00
2023-07-21 19:56:46 -04:00
2023-07-03 13:58:03 -04:00
2023-11-19 09:55:07 +00:00
2024-02-26 15:18:31 -08:00
2024-02-25 19:12:08 -08:00
2024-03-10 18:13:30 -07:00
2024-03-08 08:02:45 +00:00
2024-02-27 15:59:50 -08:00
2023-11-19 09:55:07 +00:00
2024-03-10 18:13:30 -07:00
2024-02-26 15:18:31 -08:00
2024-03-10 18:13:30 -07:00
2024-02-25 12:39:05 -08:00
2024-03-10 18:13:30 -07:00
2024-02-11 13:38:55 -07:00
2024-03-10 18:13:30 -07:00
2024-03-08 08:02:44 +00:00
2024-02-01 20:30:42 +00:00
2024-03-10 18:13:30 -07:00
2024-03-10 18:13:30 -07:00
2024-02-05 11:55:14 +03:30
2024-03-01 17:42:54 -08:00
2023-10-17 13:55:01 -05:00
2024-03-10 14:08:02 -07:00
2024-02-23 02:58:02 -07:00
2024-02-25 01:41:56 -08:00
2023-10-25 04:28:30 -04:00
2023-11-12 03:21:52 -05:00
2023-11-24 22:33:50 -07:00
2024-02-09 14:02:57 -08:00
2024-01-24 12:48:12 +01:00
2024-02-26 15:18:31 -08:00
2024-02-25 12:07:12 +01:00
2024-02-26 15:18:31 -08:00
2024-03-01 17:42:54 -08:00
2024-03-10 18:13:30 -07:00
2023-11-03 23:18:21 -04:00
2024-02-28 04:30:49 +01:00
2023-10-31 21:37:35 -04:00
2024-02-01 15:22:36 +02:00
2024-02-26 15:18:31 -08:00
2024-02-26 15:18:31 -08:00
2024-02-24 14:05:24 -08:00
2023-11-19 09:55:07 +00:00
2024-02-08 15:39:28 +01:00
2023-11-21 13:55:09 +02:00
2024-02-26 15:18:31 -08:00
2024-02-26 15:18:31 -08:00
2024-03-10 18:13:30 -07:00
2024-02-08 15:21:35 +01:00
2023-06-24 16:56:39 -07:00
2024-02-01 15:22:36 +02:00
2024-03-10 18:13:30 -07:00
2024-03-11 12:22:12 +01:00
2024-02-28 11:34:45 -08:00
2024-02-27 14:40:28 -08:00
2024-02-26 15:18:31 -08:00
2024-02-11 13:38:55 -07:00
2024-02-26 15:18:31 -08:00
2023-10-31 21:37:35 -04:00
2024-02-25 11:22:10 +01:00
2024-02-26 20:11:43 -08:00
2023-10-21 21:24:55 +00:00
2024-02-26 15:18:31 -08:00
2024-03-10 18:13:30 -07:00