From 25c574d5f091fc9e911a4a5671a3e4189bc641c6 Mon Sep 17 00:00:00 2001 From: Alex Hinds Date: Mon, 4 Jun 2018 20:01:26 +1000 Subject: [PATCH] update to docs --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b82b9a..b57f7b6 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,9 @@ Interface | Description --------- | ---------- `.get(path)` | Returns the fileObject or directory for the relevant file. Takes a string relative path, and requires the `repo` and `user` to be set. `.getUrl(path)` | Returns the current url formed for the request. Mainly called internally. -`.getContents(path)` | Returns the `file` contents directly, decoded and ready to use. +`.getFileContents(path)` | Returns the `file` contents directly, decoded and ready to use. +`.listRepos()` | List repositories of current user +`.getRepo(repo, user(optional))` | Provides the repo object for a nominated repository. User defaults to current. `.decode(encodedFile)` | Decodes a file object in base64Unicode.