Attempts to get a hash code for previously written content.
- Namespace
- Statiq
.Common - Containing Type
- IFileWriteTracker
Syntax
bool TryGetPreviousContent(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 previous content, false otherwise. |