コード例 #1
0
        public async Task can_list_prefix()
        {
            ClearBucket();

            TestFiles.DifferentPathsAndRevisions(bucket);

            var files = await bucket.ListFilesByPrefixAsync("/animals");

            foreach (var fileInfo in files)
            {
                fileInfo.Dump();
            }
            files.Select(f => f.FileName)
            .All(f => f.StartsWith("/animals"))
            .Should().BeTrue();
        }
コード例 #2
0
 public void upload_files_to_different_paths_and_revisions()
 {
     TestFiles.DifferentPathsAndRevisions(this.bucket);
 }