Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

CompressionLevel

Provides validation of comression levels used for the zip and gzip compression algorithms.

Nested types and modules

TypeDescription
T

Defines the compression level type.

Functions and values

Function or valueDescription
create(level)
Signature: level:int -> T

Constructs a CompressionLevel. Level is clipped to a value between 0 and 9.

Default
Signature: T

The default compression level.

value(arg1)
Signature: T -> int

Retrieves the numeric compression level.