diff options
Diffstat (limited to 'MediaBrowser.Common/IO/IFileSystem.cs')
| -rw-r--r-- | MediaBrowser.Common/IO/IFileSystem.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/MediaBrowser.Common/IO/IFileSystem.cs b/MediaBrowser.Common/IO/IFileSystem.cs index de9b7e88a..27307a0e9 100644 --- a/MediaBrowser.Common/IO/IFileSystem.cs +++ b/MediaBrowser.Common/IO/IFileSystem.cs @@ -112,5 +112,19 @@ namespace MediaBrowser.Common.IO /// <param name="to">To.</param> /// <returns>System.String.</returns> string SubstitutePath(string path, string from, string to); + + /// <summary> + /// Gets the file name without extension. + /// </summary> + /// <param name="info">The information.</param> + /// <returns>System.String.</returns> + string GetFileNameWithoutExtension(FileSystemInfo info); + + /// <summary> + /// Gets the file name without extension. + /// </summary> + /// <param name="path">The path.</param> + /// <returns>System.String.</returns> + string GetFileNameWithoutExtension(string path); } } |
