Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feat/repository-mounting' into f…
Browse files Browse the repository at this point in the history
…eat/repository-mounting
  • Loading branch information
leonardochaia committed Nov 12, 2024
2 parents 2ff2f64 + db7ac94 commit a2c1758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OrasProject.Oras/Registry/Remote/Repository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,6 @@ internal Reference ParseReferenceFromContentReference(string reference)
/// <param name="getContent"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public async Task MountAsync(Descriptor descriptor, string fromRepository, Func<CancellationToken, Task<Stream>>? getContent, CancellationToken cancellationToken = default)
public async Task MountAsync(Descriptor descriptor, string fromRepository, Func<CancellationToken, Task<Stream>>? getContent = null, CancellationToken cancellationToken = default)
=> await ((IMounter)Blobs).MountAsync(descriptor, fromRepository, getContent, cancellationToken).ConfigureAwait(false);
}

0 comments on commit a2c1758

Please sign in to comment.