public static string[] ListFiles(string fullPath)
{
fullPath = NormalizeFullPath(fullPath);
if(fullPath == "/") {
List<string> files = new List<string>(50);
foreach(IFilesStorageProviderV30 provider in Collectors.FilesProviderCollector.AllProviders) {
files.AddRange(provider.ListFiles(fullPath));
}
files.Sort();
return files.ToArray();
}
else {
IFilesStorageProviderV30 provider = FindDirectoryProvider(fullPath);
return provider.ListFiles(fullPath);
}
}