From fe1ff2ea533d6bfb837916287c99acb5fd91ef3f Mon Sep 17 00:00:00 2001 From: James Campos Date: Sat, 8 Sep 2012 18:51:48 -0700 Subject: [PATCH] add comment docs --- shell.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/shell.js b/shell.js index f32e1f7..b4c75b2 100644 --- a/shell.js +++ b/shell.js @@ -513,8 +513,14 @@ exports.mkdir = wrap('mkdir', _mkdir); //@ ### test(expression) //@ Available expression primaries: //@ +//@ + `'-b', 'path'`: true if path is a block device +//@ + `'-c', 'path'`: true if path is a character device //@ + `'-d', 'path'`: true if path is a directory +//@ + `'-e', 'path'`: true if path exists //@ + `'-f', 'path'`: true if path is a regular file +//@ + `'-L', 'path'`: true if path is a symboilc link +//@ + `'-p', 'path'`: true if path is a pipe (FIFO) +//@ + `'-S', 'path'`: true if path is a socket //@ //@ Examples: //@