USourceControlHelpers::RevertUnchangedFiles

Helper function to get a list of files that are unchanged & revert them.

Windows
MacOS
Linux

References

Module

SourceControl

Header

/Engine/Source/Developer/SourceControl/Public/SourceControlHelpers.h

Include

#include "SourceControlHelpers.h"

Source

/Engine/Source/Developer/SourceControl/Private/SourceControlHelpers.cpp

Syntax

static void RevertUnchangedFiles
(
    ISourceControlProvider & InProvider,
    const TArray< FString > & InFiles
)

Remarks

Helper function to get a list of files that are unchanged & revert them. This runs synchronous commands. @note Older C++ only version of RevertFiles(Files, false).

Parameters

Parameter

Description

InProvider

The provider to use

InFiles

The files to operate on

See Also

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