biluohc
de8e31660b
Modify examples/extract.rs, reduce code.
2017-10-28 10:51:46 +08:00
Mathijs van de Nes
1831edbbdd
Expose the raw file name of a file
...
We still do most operations with normal Strings, but a user can now also get the raw bytes.
Resolves #26
2017-02-12 17:18:40 +01:00
Mathijs van de Nes
88445219ec
Only allow path::Component::Normal when extracting
...
Previously, Component::Root and Component::Prefix where still allowed.
This meant some files could be extracted to a location outside the current directory.
Only safe components are Normal and Curdir, but since Curdir does not do anything we filter it aswell.
Resolves #27
2017-02-12 17:05:21 +01:00
Alexander Koval
a16962cd2c
Support for external file attributes
2016-04-23 10:31:54 +03:00
Mathijs van de Nes
a328b8ba2c
Do not use feature exit_status
2015-04-03 14:54:57 +02:00
Mathijs van de Nes
32c54f7d6b
Fix the extract test
2015-03-26 21:58:21 +01:00
Mathijs van de Nes
8010b29b5e
Fix extract example
2015-03-17 16:54:51 +01:00
Mathijs van de Nes
d778c0bb30
Update feature list
2015-03-15 14:57:25 +01:00
Mathijs van de Nes
785dccbf8e
Update features and deprecated items
2015-03-08 11:25:25 +01:00
Mathijs van de Nes
9c9a986eaf
Update examples to new IO
2015-03-02 18:29:23 +01:00
Mathijs van de Nes
522039a70d
Use the correct start index for iteration
2015-03-01 12:01:39 +01:00
Mathijs van de Nes
86ec190ba6
Fix one overlooked example
2015-03-01 11:57:50 +01:00
Mathijs van de Nes
d9b83af57c
Large refactoring, mostly of the reader
...
- Combined reader and reader_spec into read
- Alter the iteration protocol for a zip archive
- Modify some names
2015-03-01 11:32:40 +01:00
Mathijs van de Nes
6d2a63e406
Fix tests and examples
2015-02-24 16:16:08 +01:00
Mathijs van de Nes
ba0ec950a8
Use old_io and old_path features in the examples
2015-02-20 17:07:56 +01:00
Mathijs van de Nes
897ff2a82a
Fix os args
2015-02-13 09:58:42 +01:00
Mathijs van de Nes
e41200c30b
Remove deprecated items
2015-02-06 09:05:02 +01:00
Mathijs van de Nes
55ebfaaa7c
Convert unstable to the requested features
2015-01-29 17:19:16 +01:00
Mathijs van de Nes
e3b42c0c85
Fix examples and tests
2015-01-29 11:04:38 +01:00
Mathijs van de Nes
c2686b3b2e
Move examples to proper directory
2015-01-20 10:09:54 +01:00