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

File.prototype.subtreeModified()

Return the last modification time of the file’s subtree.

Syntax

file.subtreeModified() uint32

Description

Return the last modification time of the file and its subtree in form of a unix timestamp. Links are not followed and included.

Examples

The time is fixed for the sandbox environment below.

When descendants have later modification times, the latest wins.