File: ToolManifest\IToolManifestFinder.cs
Web Access
Project: src\src\sdk\src\Cli\dotnet\dotnet.csproj (dotnet)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

#nullable disable

using Microsoft.DotNet.Cli.ToolPackage;
using Microsoft.Extensions.EnvironmentAbstractions;

namespace Microsoft.DotNet.Cli.ToolManifest;

internal interface IToolManifestFinder
{
    IReadOnlyCollection<ToolManifestPackage> Find(FilePath? filePath = null);
    FilePath FindFirst(bool createManifestFileOption = false);
    IReadOnlyList<FilePath> FindByPackageId(PackageId packageId);
}