mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -05:00
Fix missing change mtime -> ctime Node polyfills
This commit is contained in:
parent
de29ab2a0c
commit
d4c10523e6
1 changed files with 3 additions and 3 deletions
|
@ -336,9 +336,9 @@ export function convertFileInfoToBigIntStats(
|
|||
isFIFO: () => false,
|
||||
isCharacterDevice: () => false,
|
||||
isSocket: () => false,
|
||||
ctime: origin.mtime,
|
||||
ctimeMs: origin.mtime ? BigInt(origin.mtime.getTime()) : null,
|
||||
ctimeNs: origin.mtime ? BigInt(origin.mtime.getTime()) * 1000000n : null,
|
||||
ctime: origin.ctime,
|
||||
ctimeMs: origin.ctime ? BigInt(origin.ctime.getTime()) : null,
|
||||
ctimeNs: origin.ctime ? BigInt(origin.ctime.getTime()) * 1000000n : null,
|
||||
});
|
||||
return stats;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue