-
Notifications
You must be signed in to change notification settings - Fork 389
SystemIOFile Adapter #550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SystemIOFile Adapter #550
Changes from 14 commits
a6e0687
84c0aff
5b4e316
45075e1
23aeb1c
7ca75f2
71af4de
8ec57c1
8a4a1f8
3875965
c889d15
202f965
c58508b
5c11795
ef7d0b0
669f042
2af6fe2
b1bf6c9
00de202
4dca604
33c7e40
95ca53d
f8ec589
d87ea07
690d6dc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
namespace Coverlet.Core.Abstracts | ||
using System.IO; | ||
|
||
namespace Coverlet.Core.Abstracts | ||
{ | ||
internal interface IFileSystem | ||
public interface IFileSystem | ||
{ | ||
bool Exists(string path); | ||
|
||
void WriteAllText(string path, string contents); | ||
|
||
string ReadAllText(string path); | ||
|
||
FileStream OpenRead(string path); | ||
|
||
void Copy(string sourceFileName, string destFileName); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why?Where is used? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry this was used in the |
||
|
||
void Copy(string sourceFileName, string destFileName, bool overwrite); | ||
|
||
void Delete(string path); | ||
|
||
void AppendAllText(string path, string contents); | ||
MarcoRossignoli marked this conversation as resolved.
Show resolved
Hide resolved
|
||
} | ||
} |
Uh oh!
There was an error while loading. Please reload this page.