mirror of
https://github.com/jcreek/Creek.FileRepository.git
synced 2026-07-13 10:53:43 +00:00
refactor(*): Modify IFIleRepository UpdateFileAsync to use a RepoFile model instead of a filename
This commit is contained in:
@@ -27,9 +27,9 @@ namespace FileRepository
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Update a file in the repository.
|
/// Update a file in the repository.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="fileName">The file name of the file to update.</param>
|
/// <param name="file">The file to store.</param>
|
||||||
/// <returns>Returns a boolean representing whether or not the update was successful.</returns>
|
/// <returns>Returns a boolean representing whether or not the update was successful.</returns>
|
||||||
Task<bool> UpdateFileAsync(string fileName);
|
Task<bool> UpdateFileAsync(RepoFile file);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Delete a file in the repository.
|
/// Delete a file in the repository.
|
||||||
|
|||||||
Reference in New Issue
Block a user