mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
18 lines
419 B
C#
18 lines
419 B
C#
using System;
|
|
using System.IO;
|
|
using System.Threading.Tasks;
|
|
using Wabbajack.Paths;
|
|
|
|
namespace Wabbajack.DTOs.Streams;
|
|
|
|
/// <summary>
|
|
/// A generic way of specifying a file-like source. Could be a in memory object
|
|
/// a file on disk, or a file inside an archive.
|
|
/// </summary>
|
|
public interface IStreamFactory
|
|
{
|
|
DateTime LastModifiedUtc { get; }
|
|
|
|
IPath Name { get; }
|
|
ValueTask<Stream> GetStream();
|
|
} |