Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

README updated

TODO: some examples
  • Loading branch information...
commit 6c8f730d93195eb02262ed3d7c33b7a4b066e587 1 parent d3e64fc
@tommy351 authored
Showing with 8 additions and 2 deletions.
  1. +8 −2 README.md
View
10 README.md
@@ -144,13 +144,17 @@ An inverse function of `filter`.
###each(iterator)
+Iterate over the target.
+
###map(iterator)
+Produce a new object with return values.
+
##I/O
###mkdir(name, [callback])
-Create a directory named `name` in the target.
+Create a directory named `name` in the target directory.
###rename(name, [callback])
@@ -184,7 +188,9 @@ If the target is a **file**, get the content of the target.
Append `data` to the target file.
-If the target does not exists. Create a new file with `data`.
+If the target is a **directory**, create a new directory named `data` in the target.
+
+If the target is a **file**, append `data` to the target.
###content([data], [callback])
Please sign in to comment.
Something went wrong with that request. Please try again.