From d8d5dd487326dd3fccf4e9f30cd8f7e3783fcfda Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 12 Jan 2015 22:46:44 -0500 Subject: make channel access opt-in rather than opt out --- MediaBrowser.Common/IO/IFileSystem.cs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'MediaBrowser.Common/IO/IFileSystem.cs') 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 /// The path. /// true if [is path file] [the specified path]; otherwise, false. bool IsPathFile(string path); + + /// + /// Deletes the file. + /// + /// The path. + /// if set to true [send to recycle bin]. + void DeleteFile(string path, bool sendToRecycleBin); + + /// + /// Deletes the directory. + /// + /// The path. + /// if set to true [recursive]. + /// if set to true [send to recycle bin]. + void DeleteDirectory(string path, bool recursive, bool sendToRecycleBin); + + /// + /// Deletes the file. + /// + /// The path. + void DeleteFile(string path); + + /// + /// Deletes the directory. + /// + /// The path. + /// if set to true [recursive]. + void DeleteDirectory(string path, bool recursive); } } -- cgit v1.2.3