mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
e3f55a0c54
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
20 lines
672 B
C#
20 lines
672 B
C#
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.
|
|
/// </summary>
|
|
public interface IResolverIgnoreRule
|
|
{
|
|
/// <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>
|
|
bool ShouldIgnore(FileSystemMetadata fileInfo, BaseItem parent);
|
|
}
|
|
}
|