file::get-length

[This is preliminary documentation and subject to change.]

Gets the length of the file.

Usage

long file::get-length(file)

Parameters

Name Type Description
file string filename

Return Value

Length in bytes, of the file named file.

Exceptions

The function will fail in any of the following circumstances:

Requirements

Assembly: NAnt.Core (0.91.3881.0)