File.prototype.body()

Get/set a file’s body.

Syntax

// Get file.body() string // Set file.body(body string) File

Parameters

body string

The new data to be stored in the file’s body.

Description

Get/set a file’s body, which is the main storage area of a file. Filesystem links are followed.

Examples

Get, set.