FileConfig.

RequiresOptimization(FilePath, string) Method

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