Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 243 Bytes

fs_truncatesync_path_len.md

File metadata and controls

10 lines (7 loc) · 243 Bytes
  • path {string|Buffer}
  • len {integer} Default: 0

Synchronous truncate(2). Returns undefined. A file descriptor can also be passed as the first argument. In this case, fs.ftruncateSync() is called.