using FileTime.Core.Models;

namespace FileTime.Core.Providers
{
    public interface IContentProvider : IContainer
    {
        bool SupportsContentStreams { get; }

        Task<IReadOnlyList<IContainer>> GetRootContainers(CancellationToken token = default);

        bool CanHandlePath(string path);

        void SetParent(IContainer container);
    }
}