| ... | ... | @@ -104,7 +104,7 @@ pub const EndRecord = extern struct { |
| 104 | 104 | }; |
| 105 | 105 | |
| 106 | 106 | /// Find and return the end record for the given seekable zip stream. |
| 107 | | /// Note that `seekable_stream` must be an instance of `std.io.SeekabkeStream` and |
| 107 | /// Note that `seekable_stream` must be an instance of `std.io.SeekableStream` and |
| 108 | 108 | /// its context must also have a `.reader()` method that returns an instance of |
| 109 | 109 | /// `std.io.Reader`. |
| 110 | 110 | pub fn findEndRecord(seekable_stream: anytype, stream_len: u64) !EndRecord { |
| ... | ... | @@ -576,7 +576,7 @@ pub const ExtractOptions = struct { |
| 576 | 576 | }; |
| 577 | 577 | |
| 578 | 578 | /// Extract the zipped files inside `seekable_stream` to the given `dest` directory. |
| 579 | | /// Note that `seekable_stream` must be an instance of `std.io.SeekabkeStream` and |
| 579 | /// Note that `seekable_stream` must be an instance of `std.io.SeekableStream` and |
| 580 | 580 | /// its context must also have a `.reader()` method that returns an instance of |
| 581 | 581 | /// `std.io.Reader`. |
| 582 | 582 | pub fn extract(dest: std.fs.Dir, seekable_stream: anytype, options: ExtractOptions) !void { |