mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(format) rm duplicate
This commit is contained in:
parent
5e1818b99f
commit
ffd6ab647f
4 changed files with 4 additions and 168 deletions
|
|
@ -56,6 +56,7 @@
|
|||
this.permissions = {
|
||||
symbolic: function(perms) {
|
||||
var type, owner, group, all,
|
||||
is = typeof perms !== undefined,
|
||||
permsStr = '',
|
||||
permissions = '';
|
||||
/*
|
||||
|
|
@ -70,7 +71,7 @@
|
|||
S_IXOTH 0000001 executable by all
|
||||
*/
|
||||
|
||||
if (perms) {
|
||||
if (is) {
|
||||
permsStr = perms.toString();
|
||||
/* тип файла */
|
||||
type = permsStr.charAt(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue