Navigation
Unreal Engine C++ API Reference > Developer > SourceControl > USourceControlHelpers
References
Module | SourceControl |
Header | /Engine/Source/Developer/SourceControl/Public/SourceControlHelpers.h |
Include | #include "SourceControlHelpers.h" |
Source | /Engine/Source/Developer/SourceControl/Private/SourceControlHelpers.cpp |
static bool GetFilesInDepotAtPath ( const [FString](API\Runtime\Core\Containers\FString) & PathToDirectory, [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & OutFilesList, bool bIncludeDeleted, bool bSilent )
Remarks
Use currently set source control provider to query the list of files in the depot under a certain path.
Blocks until action is complete. Success or failure of the operation
Parameters
Name | Description |
---|---|
PathToDirectory | The path which we want to query the list of files from. |
OutFilesList | An array containing the list of files under the queried path. |
bIncludeDeleted | Include files that have been deleted from the depot. |
bSilent | if false (default) then write out any error info to the Log. Any error text can be retrieved by LastErrorMsg() regardless. |