Permalink
Browse files

Incorporated feedback from @mikhailov

  • Loading branch information...
1 parent f4d60fd commit 9e10396ca4a978c6438538fcc6ce576b574401ea @elight elight committed Feb 26, 2014
Showing with 7 additions and 2 deletions.
  1. +7 −2 lib/fog/rackspace/docs/storage.md
View
9 lib/fog/rackspace/docs/storage.md
@@ -269,6 +269,13 @@ To retrieve a specific directory:
service.directories.get "blue"
+**Note** As a general rule, only use `get` when you want to iterate over the contents of a `Directory`
+
+This call is similar to...
+
+ service.directories.new :key => "blue"
+
+... except the `get` method makes an HTTP call that returns metadata for up to the first 10,000 files. **This can be slow!**
This returns a `Fog::Storage::Rackspace::Directory` instance:
@@ -279,8 +286,6 @@ This returns a `Fog::Storage::Rackspace::Directory` instance:
cdn_cname=nil
>
-**Note**: This will retrieve the metadata for up to the first 10,000 files in the directory. This can be slow!
-
## Create Directory
To create a directory:

0 comments on commit 9e10396

Please sign in to comment.