This commit is contained in:
Artur 2013-01-08 11:37:41 -05:00
Родитель 98f3b0b2ef
Коммит 454dd29849
2 изменённых файлов: 8 добавлений и 6 удалений

Просмотреть файл

@ -447,7 +447,7 @@ the `callback` gets the arguments `(code, output)`.
the current synchronous implementation uses a lot of CPU. This should be getting
fixed soon.
### chmod(octal_mode, file)
### chmod(octal_mode || octal_string, file)
### chmod(symbolic_mode, file)
Available options:
@ -459,8 +459,9 @@ Available options:
Examples:
```javascript
chmod(755, '/Users/brandon')
chmod('u+x', '/Users/brandon')
chmod(755, '/Users/brandon');
chmod('755', '/Users/brandon'); // same as above
chmod('u+x', '/Users/brandon');
```
Alters the permissions of a file or directory by either specifying the

Просмотреть файл

@ -1141,7 +1141,7 @@ var PERMS = (function (base) {
//@
//@ ### chmod(octal_mode, file)
//@ ### chmod(octal_mode || octal_string, file)
//@ ### chmod(symbolic_mode, file)
//@
//@ Available options:
@ -1153,8 +1153,9 @@ var PERMS = (function (base) {
//@ Examples:
//@
//@ ```javascript
//@ chmod(755, '/Users/brandon')
//@ chmod('u+x', '/Users/brandon')
//@ chmod(755, '/Users/brandon');
//@ chmod('755', '/Users/brandon'); // same as above
//@ chmod('u+x', '/Users/brandon');
//@ ```
//@
//@ Alters the permissions of a file or directory by either specifying the