From c849ade24365a979340dcae442b2e6e27ed9bb57 Mon Sep 17 00:00:00 2001 From: roll Date: Thu, 28 Sep 2017 09:43:55 +0300 Subject: [PATCH] Added storage.buckets to readme API reference --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index f8a15ca..e644c69 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,12 @@ This driver provides an additional API: - `base_path (str)` - a valid directory path where .sav files can be created and read. If no base_path is provided, the Storage object methods will accept file paths rather than bucket names. +#### `storage.buckets` + +List all .sav and .zsav files at base path. Bucket list is only maintained if Storage has a valid base path, otherwise will return None. + +- `(str[]/None)` - returns bucket list or None + #### With a base path We can get storage with a specified base path this way: