Skip to content

Commit f84430e

Browse files
committed
#92 Blob Metadata
1 parent ce034af commit f84430e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ManagedCode.Storage.Aws/AWSStorage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public override async IAsyncEnumerable<BlobMetadata> GetBlobMetadataListAsync(st
6868
yield return new BlobMetadata
6969
{
7070
Name = entry.Key,
71-
FullName = entry.Key,
71+
FullName = $"{StorageOptions.Bucket}/{entry.Key}",
7272
Container = StorageOptions.Bucket,
7373
Uri = new Uri($"https://s3.amazonaws.com/{StorageOptions.Bucket}/{entry.Key}"),
7474
LastModified = objectMetaResponse.LastModified,

ManagedCode.Storage.Google/GCPStorage.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ public override IAsyncEnumerable<BlobMetadata> GetBlobMetadataListAsync(string?
4545
{
4646
return StorageClient.ListObjectsAsync(StorageOptions.BucketOptions.Bucket, directory,
4747
new ListObjectsOptions { Projection = Projection.Full })
48-
.Select(
49-
x => new BlobMetadata
48+
.Select(x => new BlobMetadata
5049
{
5150
Name = x.Name,
51+
FullName = $"{x.Bucket}/{x.Name}",
5252
Uri = string.IsNullOrEmpty(x.MediaLink) ? null : new Uri(x.MediaLink),
5353
Container = x.Bucket,
5454
CreatedOn = x.TimeCreated!.Value,

0 commit comments

Comments
 (0)