* add letter bar with no links * use lucene for search, add paged search results * add search index version * index library_name; rebuild index when folder is missing * maintain index as local movies change * fix tests * maintain index as local shows change * maintain index as plex movies change * maintain index as plex shows change * code cleanup * add duplicate filter to search * add links to letter bar * code cleanup
21 lines
647 B
C#
21 lines
647 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using ErsatzTV.Core.Domain;
|
|
using LanguageExt;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Metadata
|
|
{
|
|
public interface ILocalFileSystem
|
|
{
|
|
Unit EnsureFolderExists(string folder);
|
|
DateTime GetLastWriteTime(string path);
|
|
bool IsLibraryPathAccessible(LibraryPath libraryPath);
|
|
IEnumerable<string> ListSubdirectories(string folder);
|
|
IEnumerable<string> ListFiles(string folder);
|
|
bool FileExists(string path);
|
|
Task<byte[]> ReadAllBytes(string path);
|
|
Unit CopyFile(string source, string destination);
|
|
}
|
|
}
|