Version: 2017.3

Provider.RevertIsValid

Switch to Manual
public static bool RevertIsValid (VersionControl.AssetList assets, VersionControl.RevertMode mode);
public static bool RevertIsValid (VersionControl.Asset asset, VersionControl.RevertMode mode);

Parameters

assets List of assets to test.
mode Revert mode to test for.
asset Asset to test.

Description

Return true if Revert is a valid task to perform.