README.rdoc in defog-0.3.0 vs README.rdoc in defog-0.3.1
- old
+ new
@@ -48,10 +48,10 @@
defog.file("key/of/file", mode) do |file|
# ... access file ...
end
<code>mode</code> can be "r", "r+", "w", "w+", "a", or "a+" with the usual
-semantics.
+semantics, and can be suffixed with "b" or with ":" and encoding as usual.
When opened in a readable mode ("r", "r+", "w+", "a+"), first caches the
cloud file in the local proxy. When opened in a writeable mode ("r+", "w",
"w+", "a", "a+"), arranges to upload the changes back to the cloud file
at close time.