Exemplo n.º 1
0
        public async Task <YandexDiskDirectory> GetDirectoryAsync(UPath relativePath, System.Threading.CancellationToken cancellation)
        {
            var path   = _path.GetCopy().AppendSelf(relativePath).ToString();
            var answer = await YandexDisk.PerformListRequestAsync(_publicUrl, path, cancellation);

            return(new YandexDiskDirectory(answer, _publicUrl));
        }