Exemplo n.º 1
0
 static async Task <IGrouping <string, StoreFileMd>[]> ToOptimiseByDir(ISimpleFileStore store, StringPath landPath, string ts) =>
 (await store.Files(landPath, true))
 .Where(f => ts == null || string.CompareOrdinal(f.Ts, ts) > 0)
 .GroupBy(f => f.Path.Parent.ToString())
 .ToArray();