We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa8aa3c commit 3a7b2f3Copy full SHA for 3a7b2f3
README.md
@@ -38,10 +38,10 @@ Show repository information
38
repo.show(function(err, repo) {});
39
```
40
41
-Get contents at a particular path.
+Get contents at a particular path in a particular branch.
42
43
```js
44
-repo.contents("path/to/dir", function(err, contents) {});
+repo.contents("master", "path/to/dir", function(err, contents) {});
45
46
47
Fork repository. This operation runs asynchronously. You may want to poll for `repo.contents` until the forked repo is ready.
0 commit comments