Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > IOperationExecutionResult > getStateHash

IOperationExecutionResult.getStateHash() method

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Gets the hash of the state of all registered inputs to this operation. Calling this method will throw if Git is not available.

Signature:

getStateHash(): string;

Returns:

string