using System.IO; namespace MediaBrowser.Controller.IO { /// /// Interface IFileSystem /// public interface IFileSystem { /// /// Determines whether the specified filename is shortcut. /// /// The filename. /// true if the specified filename is shortcut; otherwise, false. bool IsShortcut(string filename); /// /// Resolves the shortcut. /// /// The filename. /// System.String. string ResolveShortcut(string filename); /// /// Creates the shortcut. /// /// The shortcut path. /// The target. void CreateShortcut(string shortcutPath, string target); /// /// Gets the file system info. /// /// The path. /// FileSystemInfo. FileSystemInfo GetFileSystemInfo(string path); /// /// Gets the valid filename. /// /// The filename. /// System.String. string GetValidFilename(string filename); } }