jellyfin/MediaBrowser.Controller/Resolvers/IResolverIgnoreRule.cs

20 lines
672 B
C#
Raw Normal View History

2018-12-28 00:27:57 +01:00
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.IO;
namespace MediaBrowser.Controller.Resolvers
{
/// <summary>
/// Provides a base "rule" that anyone can use to have paths ignored by the resolver.
2018-12-28 00:27:57 +01:00
/// </summary>
public interface IResolverIgnoreRule
{
2019-07-06 16:15:38 +02:00
/// <summary>
/// Checks whether or not the file should be ignored.
/// </summary>
/// <param name="fileInfo">The file information.</param>
/// <param name="parent">The parent BaseItem.</param>
/// <returns>True if the file should be ignored.</returns>
2018-12-28 00:27:57 +01:00
bool ShouldIgnore(FileSystemMetadata fileInfo, BaseItem parent);
}
}