Skip to content

Commit c03b5d1

Browse files
committed
Remove obsolete single-parameter GetFileStreamAsync overload
1 parent 3f37c36 commit c03b5d1

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/Foundatio.Redis/Storage/RedisFileStorage.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ public void Dispose()
5252
_connectionMultiplexer.ConnectionRestored -= ConnectionMultiplexerOnConnectionRestored;
5353
}
5454

55-
[Obsolete($"Use {nameof(GetFileStreamAsync)} with {nameof(StreamMode)} instead to define read or write behaviour of stream")]
56-
public Task<Stream?> GetFileStreamAsync(string path, CancellationToken cancellationToken = default)
57-
=> GetFileStreamAsync(path, StreamMode.Read, cancellationToken);
58-
5955
public async Task<Stream?> GetFileStreamAsync(string path, StreamMode streamMode, CancellationToken cancellationToken = default)
6056
{
6157
if (String.IsNullOrEmpty(path))

0 commit comments

Comments
 (0)