HolyLib Wiki

autorefresh.BlockFileForRefresh

 boolean autorefresh.BlockFileForRefresh( string filePath, boolean block )

Description

Blocks (or unblocks) a specific file from ever being refreshed by the auto refresh system, even if it changes on disk.

Arguments

1string filePath

Relative path of the file

2boolean block

true to block the file, false to unblock it

Returns

1boolean success

Returns false if the file already was in the requested state