diff options
Diffstat (limited to 'vfs/vfs.ts')
| -rw-r--r-- | vfs/vfs.ts | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -8,9 +8,8 @@ export interface WuiVfsNodeInterface { name: string path: string is_dir?: boolean - - mod_time_epoch?: number - mod_time_rfc3339?: string + content_type?: string + mod_time?: number size?: number mode?: string childs?: WuiVfsNodeInterface[] @@ -77,8 +76,8 @@ export class WuiVfs { class WuiVfsNode implements WuiVfsNodeInterface { path: string name: string - mod_time_epoch: number - mod_time_rfc3339: string + content_type: string + mod_time: number size: number mode: string is_dir: boolean @@ -87,8 +86,8 @@ class WuiVfsNode implements WuiVfsNodeInterface { constructor(opts: WuiVfsNodeInterface) { this.path = opts.path || "" this.name = opts.name || "" - this.mod_time_epoch = opts.mod_time_epoch || 0 - this.mod_time_rfc3339 = opts.mod_time_rfc3339 || "" + this.content_type = opts.content_type || "" + this.mod_time = opts.mod_time || 0 this.size = opts.size || 0 this.mode = opts.mode || "" this.is_dir = opts.is_dir || false |
