using System; using System.Collections.Generic; using System.Threading.Tasks; using ErsatzTV.Core.Domain; namespace ErsatzTV.Core.Interfaces.Metadata { public interface ILocalFileSystem { DateTime GetLastWriteTime(string path); bool IsMediaSourceAccessible(LocalMediaSource localMediaSource); IEnumerable ListSubdirectories(string folder); IEnumerable ListFiles(string folder); bool FileExists(string path); Task ReadAllBytes(string path); } }