Open by path
This commit is contained in:
@@ -24,4 +24,5 @@ public interface IContentProvider : IContainer, IOnContainerEnter
|
||||
NativePath GetNativePath(FullName fullName);
|
||||
|
||||
Task<byte[]?> GetContentAsync(IElement element, int? maxLength = null, CancellationToken cancellationToken = default);
|
||||
bool CanHandlePath(NativePath path);
|
||||
}
|
||||
@@ -2,5 +2,5 @@ namespace FileTime.Core.Interactions;
|
||||
|
||||
public interface IInputInterface
|
||||
{
|
||||
Task<bool> ReadInputs(IEnumerable<IInputElement> fields);
|
||||
Task<bool> ReadInputs(params IInputElement[] fields);
|
||||
}
|
||||
@@ -13,4 +13,6 @@ public interface ITimelessContentProvider
|
||||
bool forceResolve = false,
|
||||
AbsolutePathType forceResolvePathType = AbsolutePathType.Unknown,
|
||||
ItemInitializationSettings itemInitializationSettings = default);
|
||||
|
||||
Task<IItem?> GetItemByNativePathAsync(NativePath nativePath, PointInTime? pointInTime = null);
|
||||
}
|
||||
Reference in New Issue
Block a user