Esempio n. 1
0
        public async Task <List <string> > ListDirectoryAsync(string path)
        {
            var files = await _internalClient.ListDirectoryAsync(path).ConfigureAwait(false);

            return(files.Select(x => x.FullName.Substring(1)).Where(x => !x.EndsWith(".")).ToList()); //we don't want to return . or .. and we don't want to return first / either
        }