public async Task <IEnumerable <string> > ExecuteQueryAsync(string startingFolder, CancellationToken ct) { var list = await _filesEnumerator.GetFilesListAsync(ct, startingFolder); return(list.Select(f => new string(f.ToCharArray().Reverse().ToArray()))); }
public async Task <IEnumerable <string> > ExecuteQueryAsync(string startingFolder, CancellationToken ct) => await _filesEnumerator.GetFilesListAsync(ct, startingFolder);
public async Task <IEnumerable <string> > ExecuteQueryAsync(string startingFolder, CancellationToken ct) { var list = await _filesEnumerator.GetFilesListAsync(ct, startingFolder, "*.cs"); return(list.Select(f => $"{f} /")); }
public async Task <IEnumerable <string> > ExecuteQueryAsync(string startingFolder, CancellationToken ct) { var list = await _filesEnumerator.GetFilesListAsync(ct, startingFolder); return(list.Select(f => string.Join(@"\", f.Split('\\').Reverse()))); }