aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/IO/IFileSystem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common/IO/IFileSystem.cs')
-rw-r--r--MediaBrowser.Common/IO/IFileSystem.cs28
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);
}
}