This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.ImageOptimizer.
Summary
Checks if a file requires optimization
- Assembly
- Cake
.ImageOptimizer .dll - Namespace
- Cake
.ImageOptimizer - Containing Type
- FileConfig
Syntax
public bool RequiresOptimization(FilePath path, string hash)
Parameters
Name | Type | Description |
---|---|---|
path | FilePath | The file path to check. |
hash | string | The file hash to compare. |
Return Value
Type | Description |
---|---|
bool |