transform


Description:

public int transform (string lens, string file, int excl = 0)

Add a transform using lens for file.

excl specifies if the file is to be included (0) or excluded (1) from the lens. The lens may be a module name or a full lens name. If a module name is given, then lns will be the lens assumed.

Parameters:

lens

lens name

file

file to transform

excl

include file if 0, exclude file if 1

Returns:

1 on success, -1 on failure