BinaryRage.Storage.GetFolders C# (CSharp) Method

GetFolders() private static method

private static GetFolders ( string key, string filelocation ) : IEnumerable
key string
filelocation string
return IEnumerable
        private static IEnumerable<string> GetFolders(string key, string filelocation)
        {
            yield return filelocation;
            foreach (var folder in Key.Splitkey(key))
                yield return folder;
        }