Class: MockFileStatus
Mock of the X-Ray engine FS file status.
Implements
FileStatus
Constructors
Constructor
ts
new MockFileStatus(exists?: boolean, external?: boolean): MockFileStatus;Parameters
| Parameter | Type |
|---|---|
exists? | boolean |
external? | boolean |
Returns
MockFileStatus
Methods
create()
ts
static create(exists?: boolean, external?: boolean): MockFileStatus;Parameters
| Parameter | Type |
|---|---|
exists? | boolean |
external? | boolean |
Returns
MockFileStatus
mock()
ts
static mock(exists?: boolean, external?: boolean): FileStatus;Parameters
| Parameter | Type |
|---|---|
exists? | boolean |
external? | boolean |
Returns
FileStatus
Properties
Exists
ts
readonly Exists: boolean;Whether the file exists.
Implementation of
ts
FileStatus.ExistsExternal
ts
readonly External: boolean;Whether the match came from the external filesystem.
Implementation of
ts
FileStatus.External