Browse files

Put the end event docs in the regular events section (not the error e…

…vents)
  • Loading branch information...
1 parent 8818edd commit 0236d4fb8f7ea4602c041b02e5d701627f9a669a @chilts committed Jun 7, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 readme.md
View
6 readme.md
@@ -106,6 +106,9 @@ fired when a block device is found
###targetdirectory
fired for the stat of the path you provided as the first argument. is is only fired if it is a directory.
+###end
+fired when the entire tree has been read and emitted.
+
## error events
error type events are emitted with (path,error). error being the error object returned from an fs call or other opperation.
@@ -116,9 +119,6 @@ if the target path cannot be read an error event is emitted. this is the only fa
when stat or read fails on a path somewhere in the walk and it is not your target path you get a fail event instead of error.
This is handy if you want to find places you dont have access too.
-###end
-fired when the entire tree has been read and emitted.
-
## notes
### cancel a walk in progress

0 comments on commit 0236d4f

Please sign in to comment.