From 0efed15d769266e3f83d832e54c9e55bd7c2a7f8 Mon Sep 17 00:00:00 2001 From: Liam Curry Date: Wed, 18 Mar 2015 14:40:51 -0600 Subject: [PATCH] Changed "url" to "buffer" in `file.getBuffer` callback --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3fc74532..f3cf0aa6 100644 --- a/README.md +++ b/README.md @@ -456,7 +456,7 @@ You can pass `opts` to stream only a slice of a file. Both `start` and `end` are inclusive. -#### `file.getBuffer(function callback (err, url) {})` +#### `file.getBuffer(function callback (err, buffer) {})` Get the file contents as a `Buffer`.