FSourceControlWindows::PromptForRevert

Prompt the user with a revert files dialog, allowing them to specify which packages, if any, should be reverted.

Windows
MacOS
Linux

References

Module

SourceControlWindows

Header

/Engine/Source/Editor/SourceControlWindows/Public/SourceControlWindows.h

Include

#include "SourceControlWindows.h"

Source

/Engine/Source/Editor/SourceControlWindows/Private/SSourceControlRevert.cpp

Syntax

static bool PromptForRevert
(
    const TArray< FString > & InPackageNames
)

Remarks

Prompt the user with a revert files dialog, allowing them to specify which packages, if any, should be reverted.

Returns

true if the files were reverted; false if the user canceled out of the dialog

Parameters

Parameter

Description

InPackageNames

Names of the packages to consider for reverting

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss