Skip to content

Commit 8231356

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents fc33fb2 + 34f9f10 commit 8231356

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,14 @@ import iopipe.textpipe;
4040
import iopipe.zip;
4141
import iopipe.bufpipe;
4242
import std.io;
43+
import std.typecons;
4344
4445
// open a zipfile, decompress it, detect the text encoding inside, and process
4546
// lines that contain "foo"
4647
void main(string[] args)
4748
{
4849
File(args[1]) // open a file
50+
.refCounted // File can't be copied
4951
.bufd // buffer it
5052
.unzip // decompress it
5153
.runEncoded!((input) { // detect the text encoding and process it.

0 commit comments

Comments
 (0)