Version: 2019.2
public static bool RevertIsValid (VersionControl.AssetList assets, VersionControl.RevertMode mode);
public static bool RevertIsValid (VersionControl.Asset asset, VersionControl.RevertMode mode);

Parameters

assetsList of assets to test.
modeRevert mode to test for.
assetAsset to test.

Description

Return true if Revert is a valid task to perform.