diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-12 22:46:44 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-12 22:46:44 -0500 |
| commit | d8d5dd487326dd3fccf4e9f30cd8f7e3783fcfda (patch) | |
| tree | cf9950d32ee194d72a367c836a70dfb8f4e61401 /MediaBrowser.Common | |
| parent | f55217406985ad21da44aa523353f33e3f720ccd (diff) | |
make channel access opt-in rather than opt out
Diffstat (limited to 'MediaBrowser.Common')
| -rw-r--r-- | MediaBrowser.Common/IO/IFileSystem.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/MediaBrowser.Common/IO/IFileSystem.cs b/MediaBrowser.Common/IO/IFileSystem.cs index 3bcec98ce..5ce84f436 100644 --- a/MediaBrowser.Common/IO/IFileSystem.cs +++ b/MediaBrowser.Common/IO/IFileSystem.cs @@ -133,5 +133,33 @@ namespace MediaBrowser.Common.IO /// <param name="path">The path.</param> /// <returns><c>true</c> if [is path file] [the specified path]; otherwise, <c>false</c>.</returns> bool IsPathFile(string path); + + /// <summary> + /// Deletes the file. + /// </summary> + /// <param name="path">The path.</param> + /// <param name="sendToRecycleBin">if set to <c>true</c> [send to recycle bin].</param> + void DeleteFile(string path, bool sendToRecycleBin); + + /// <summary> + /// Deletes the directory. + /// </summary> + /// <param name="path">The path.</param> + /// <param name="recursive">if set to <c>true</c> [recursive].</param> + /// <param name="sendToRecycleBin">if set to <c>true</c> [send to recycle bin].</param> + void DeleteDirectory(string path, bool recursive, bool sendToRecycleBin); + + /// <summary> + /// Deletes the file. + /// </summary> + /// <param name="path">The path.</param> + void DeleteFile(string path); + + /// <summary> + /// Deletes the directory. + /// </summary> + /// <param name="path">The path.</param> + /// <param name="recursive">if set to <c>true</c> [recursive].</param> + void DeleteDirectory(string path, bool recursive); } } |
