WARNING: The [sjs-3] engine was deprecated, use [sjs-4] instead.

File.prototype.subtreeSize()

Return the size of the file’s subtree.

Syntax

file.subtreeSize() uint64

Description

Return the size of the file’s subtree including the file itself. Links are not followed and included.

Examples

Basic example.

Symlinks are not followed.