Navigation
API > API/Developer > API/Developer/SourceControl > API/Developer/SourceControl/USourceControlHelpers
Description
Use currently set source control provider to query the list of files in the depot under a certain path.
Blocks until action is complete.
| Name | GetFilesInDepotAtPath |
| Type | function |
| Header File | /Engine/Source/Developer/SourceControl/Public/SourceControlHelpers.h |
| Include Path | #include "SourceControlHelpers.h" |
| Source | /Engine/Source/Developer/SourceControl/Private/SourceControlHelpers.cpp |
static bool GetFilesInDepotAtPath
(
const FString & Path,
TArray < FString > & OutFilesList,
bool bIncludeDeleted,
bool bSilent,
bool bIsFileRegexSearch
)
Success or failure of the operation
Parameters
| Name | Remarks |
|---|---|
| Path | 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. |
| bIsFileRegexSearch | If false, it is a folder search. If true, it is a file regex search |