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

Syntax

bool TryGetCurrentWrite(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 writes, false otherwise.