@@ -96,6 +96,7 @@ Have a look at the code in the [examples](./examples) folder: with __master__, _
96
96
* ` path = await create(path, data, flags) `
97
97
* ` mkdirp(path, callback(Error)) `
98
98
* ` stat = await exists(path, watch) `
99
+ * rejects if node does not exist
99
100
* ` data = await get(path, watch) `
100
101
* ` children = await get_children(path, watch) `
101
102
* ` [children, stat] = await get_children2( path, watch) `
@@ -113,6 +114,7 @@ Have a look at the code in the [examples](./examples) folder: with __master__, _
113
114
* The watcher methods are forward-looking subscriptions that can recieve multiple callbacks whenever a matching event occurs.*
114
115
115
116
* ` stat = await w_exists(path, watch_cb) `
117
+ * rejects if node does not exist
116
118
* ` data = await w_get(path, watch_cb) `
117
119
* ` children = await w_get_children(path, watch_cb) `
118
120
* ` [children, stat] = await w_get_children2 (path, watch_cb) `
@@ -150,6 +152,7 @@ Have a look at the code in the [examples](./examples) folder: with __master__, _
150
152
151
153
* path_cb : function(rc, error, path)
152
154
* stat_cb : function(rc, error, stat)
155
+ * Invoked with error set if path does not exist, also for a_exists() calls
153
156
* data_cb : function(rc, error, stat, data)
154
157
* child_cb : function(rc, error, children)
155
158
* child2_cb : function(rc, error, children, stat)
0 commit comments