diff options
Diffstat (limited to 'js/file_info.ts')
-rw-r--r-- | js/file_info.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/file_info.ts b/js/file_info.ts index cf9ede85c..deaafe5ea 100644 --- a/js/file_info.ts +++ b/js/file_info.ts @@ -83,15 +83,15 @@ export class FileInfoImpl implements FileInfo { this.path = path ? path : null; } - isFile() { + isFile(): boolean { return this._isFile; } - isDirectory() { + isDirectory(): boolean { return !this._isFile && !this._isSymlink; } - isSymlink() { + isSymlink(): boolean { return this._isSymlink; } } |