Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

VersionControl.Provider.RevertIsValid

public static function RevertIsValid(assets: AssetList, mode: RevertMode): bool;
public static function RevertIsValid(asset: Asset, mode: RevertMode): bool;

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.