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

Syntax

bool TryGetPreviousWrite(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 file.

Return Value

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