3using System.Threading.Tasks;
47 return ValueTask.CompletedTask;
51 public Task
ExtractToPath(
string path, CancellationToken cancellationToken)
Implementation of IEngineInstallationData using a IRepository.
RepositoryEngineInstallationData(IIOManager ioManager, IRepository repository, string targetSubDirectory)
Initializes a new instance of the RepositoryEngineInstallationData class.
readonly IRepository repository
The backing IRepository.
readonly string targetSubDirectory
The name of the subdirectory the repository is copied to.
Task ExtractToPath(string path, CancellationToken cancellationToken)
Extracts the installation to a given path.A Task representing the running operation.
readonly IIOManager ioManager
The IIOManager for the RepositoryEngineInstallationData.
Wraps data containing an engine installation.
Represents an on-disk git repository.
ValueTask CopyTo(string path, CancellationToken cancellationToken)
Copies the current working directory to a given path .
Interface for using filesystems.
string ConcatPath(params string[] paths)
Combines an array of strings into a path.