Skip to content

Commit d009ca2

Browse files
committed
rename parameter names to match interfaces and implementations
1 parent ad86baf commit d009ca2

File tree

3 files changed

+203
-203
lines changed

3 files changed

+203
-203
lines changed

FileSystem/src/Adapters/LocalAdapter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,11 @@ public override async Task WriteFileAsync(string virtualPath, byte[] contents, b
176176
await fileStream.WriteAsync(contents, 0, contents.Length, cancellationToken);
177177
}
178178

179-
public override async Task AppendFileAsync(string path, byte[] contents, CancellationToken cancellationToken = default)
179+
public override async Task AppendFileAsync(string virtualPath, byte[] contents, CancellationToken cancellationToken = default)
180180
{
181-
await GetFileAsync(path, cancellationToken);
181+
await GetFileAsync(virtualPath, cancellationToken);
182182

183-
using var fileStream = new FileStream(GetPath(path), FileMode.Append);
183+
using var fileStream = new FileStream(GetPath(virtualPath), FileMode.Append);
184184

185185
await fileStream.WriteAsync(contents, 0, contents.Length, cancellationToken);
186186
}

0 commit comments

Comments
 (0)