Back to Pocketbase

Interface truncate

static/jsvm/interfaces/os.truncate.html

latest570 B
Original Source

Interface truncate

Hierarchy

  • truncate

  • truncate(name, size): void

Truncate changes the size of the named file. If the file is a symbolic link, it changes the size of the link's target. If there is an error, it will be of type *PathError.

Parameters

name: string
size: number

Returns void

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc