Skip to content

Commit

Permalink
improve file_info.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ztplz authored and ry committed Oct 23, 2018
1 parent 64f0dfd commit de85f94
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions js/file_info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import * as msg from "gen/msg_generated";
* `statSync`, `lstatSync`.
*/
export interface FileInfo {
readonly _isFile: boolean;
readonly _isSymlink: boolean;
/** The size of the file, in bytes. */
len: number;
/** The last modification time of the file. This corresponds to the `mtime`
Expand Down Expand Up @@ -53,8 +51,8 @@ export interface FileInfo {

// @internal
export class FileInfoImpl implements FileInfo {
readonly _isFile: boolean;
readonly _isSymlink: boolean;
private readonly _isFile: boolean;
private readonly _isSymlink: boolean;
len: number;
modified: number | null;
accessed: number | null;
Expand Down

0 comments on commit de85f94

Please sign in to comment.