Archived
1
0

Fix some styling issues

This commit is contained in:
Asher
2019-01-22 16:39:20 -06:00
committed by Kyle Carberry
parent 8c21abd2f9
commit b1cd5c142f
3 changed files with 39 additions and 34 deletions

View File

@ -694,10 +694,7 @@ class Stats implements fs.Stats {
this.birthtime = new Date(stats.birthtime);
}
public get dev(): number {
return this.stats.dev;
}
public get dev(): number { return this.stats.dev; }
public get ino(): number { return this.stats.ino; }
public get mode(): number { return this.stats.mode; }
public get nlink(): number { return this.stats.nlink; }
@ -711,34 +708,13 @@ class Stats implements fs.Stats {
public get mtimeMs(): number { return this.stats.mtimeMs; }
public get ctimeMs(): number { return this.stats.ctimeMs; }
public get birthtimeMs(): number { return this.stats.birthtimeMs; }
public isFile(): boolean {
return this.stats._isFile;
}
public isDirectory(): boolean {
return this.stats._isDirectory;
}
public isBlockDevice(): boolean {
return this.stats._isBlockDevice;
}
public isCharacterDevice(): boolean {
return this.stats._isCharacterDevice;
}
public isSymbolicLink(): boolean {
return this.stats._isSymbolicLink;
}
public isFIFO(): boolean {
return this.stats._isFIFO;
}
public isSocket(): boolean {
return this.stats._isSocket;
}
public isFile(): boolean { return this.stats._isFile; }
public isDirectory(): boolean { return this.stats._isDirectory; }
public isBlockDevice(): boolean { return this.stats._isBlockDevice; }
public isCharacterDevice(): boolean { return this.stats._isCharacterDevice; }
public isSymbolicLink(): boolean { return this.stats._isSymbolicLink; }
public isFIFO(): boolean { return this.stats._isFIFO; }
public isSocket(): boolean { return this.stats._isSocket; }
public toObject(): object {
return JSON.parse(JSON.stringify(this));