You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Auto-format UBT for consistent spacing. All default Visual Studio settings, but tabs instead of spaces.
[CL 2704665 by Ben Marsh in Main branch]
This commit is contained in:
committed by
Ben.Marsh@epicgames.com
parent
1321916545
commit
df83418aeb
@@ -18,7 +18,7 @@ namespace UnrealBuildTool
|
||||
Directory = InDirectory;
|
||||
Exists = Directory.Exists();
|
||||
|
||||
if(!Exists)
|
||||
if (!Exists)
|
||||
{
|
||||
Files = new HashSet<FileReference>();
|
||||
Directories = new HashSet<DirectoryReference>();
|
||||
@@ -27,7 +27,7 @@ namespace UnrealBuildTool
|
||||
|
||||
private void CacheFiles()
|
||||
{
|
||||
if(Files == null)
|
||||
if (Files == null)
|
||||
{
|
||||
Files = new HashSet<FileReference>(Directory.EnumerateFileReferences());
|
||||
}
|
||||
@@ -47,7 +47,7 @@ namespace UnrealBuildTool
|
||||
|
||||
private void CacheDirectories()
|
||||
{
|
||||
if(Directories == null)
|
||||
if (Directories == null)
|
||||
{
|
||||
Directories = new HashSet<DirectoryReference>(Directory.EnumerateDirectoryReferences());
|
||||
}
|
||||
@@ -101,11 +101,11 @@ namespace UnrealBuildTool
|
||||
static public IEnumerable<DirectoryReference> EnumerateDirectoriesRecursively(DirectoryReference Directory)
|
||||
{
|
||||
DirectoryCache FoundDirectoryCache = FindOrCreateDirectoryCache(Directory);
|
||||
foreach(DirectoryReference SubDirectory in FoundDirectoryCache.EnumerateDirectories())
|
||||
foreach (DirectoryReference SubDirectory in FoundDirectoryCache.EnumerateDirectories())
|
||||
{
|
||||
yield return SubDirectory;
|
||||
|
||||
foreach(DirectoryReference ChildSubDirectory in EnumerateDirectoriesRecursively(SubDirectory))
|
||||
foreach (DirectoryReference ChildSubDirectory in EnumerateDirectoriesRecursively(SubDirectory))
|
||||
{
|
||||
yield return ChildSubDirectory;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user