mirror of
https://github.com/gchq/CyberChef
synced 2026-01-01 08:03:30 +00:00
add tests for File and test based operations. Only unzip to go
This commit is contained in:
@@ -42,6 +42,14 @@ class File {
|
||||
get size() {
|
||||
return this.data.length;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return lastModified as Date
|
||||
*/
|
||||
get lastModifiedDate() {
|
||||
return new Date(this.lastModified);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default File;
|
||||
|
||||
Reference in New Issue
Block a user