AssetBundleGraph.FileUtility.GetFilePathsRecursively C# (CSharp) Method

GetFilePathsRecursively() private static method

private static GetFilePathsRecursively ( string localFolderPath, List filePaths, bool includeHidden = false, bool includeMeta = !AssetBundleGraphSettings.IGNORE_META ) : void
localFolderPath string
filePaths List
includeHidden bool
includeMeta bool
return void
        private static void GetFilePathsRecursively(string localFolderPath, List<string> filePaths, bool includeHidden=false, bool includeMeta=!AssetBundleGraphSettings.IGNORE_META)
        {
            var folders = Directory.GetDirectories(localFolderPath);

            foreach (var folder in folders) {
                GetFilePathsRecursively(folder, filePaths, includeHidden, includeMeta);
            }

            var files = GetFilePathsInFolder(localFolderPath, includeHidden, includeMeta);
            filePaths.AddRange(files);
        }