TryGetCurrentContent(NormalizedPath, int) Method
Attempts to get a hash code for written content.
Namespace
Statiq.Common
Containing Type
IFileWriteTracker

Syntax

bool TryGetCurrentContent(NormalizedPath path, out int hashCode)

Parameters

Name Type Description
path NormalizedPath The path that was written to.
hashCode int A hash code that represents the written content.

Return Value

Type Description
bool true if an entry exists for the given path in the content, false otherwise.