Enter to send·Shift+Enter new line
Truncate a file
truncateSync(path: string, length: number)
path
string
length
number