Added mode

This commit is contained in:
Johannes Lumpe 2015-05-08 23:10:45 +03:00
parent 45fabb05c0
commit de49e3f7bb
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ var RNFS = {
'ctime': new Date(result.ctime*1000),
'mtime': new Date(result.mtime*1000),
'size': result.size,
'mode': result.mode,
isFile: () => result.type === NSFileTypeRegular,
isDirectory: () => result.type === NSFileTypeDirectory,
};