1.7 KiB
1.7 KiB
@redeye/parser-core / ParserFile
Interface: ParserFile
Table of contents
Properties
Properties
dateTime
• dateTime: Date
The date time the file was created or modified
Example
dateTime = new Date('2021-01-01T00:00:00.000Z');
Defined in
fileFlag
• fileFlag: "DOWNLOAD" | "UPLOAD"
Was this file uploaded to the host or downloaded from the host
Defined in
fileName
• Optional fileName: string
The name of the file if the local file name is different from the name of the file
Example
name = 'admin-list.txt';
Defined in
filePath
• filePath: string
Path to the file that RedEye can access
Example
filePath = '<directory-of-parser>/files/file.txt';
Defined in
md5
• Optional md5: string
The MD5 hash of the file