File: ToolPackage\ILocalToolsResolverCache.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

namespace Microsoft.DotNet.Cli.ToolPackage;

internal interface ILocalToolsResolverCache
{
    void Save(
        IDictionary<RestoredCommandIdentifier, ToolCommand> restoredCommandMap);

    bool TryLoad(
        RestoredCommandIdentifier restoredCommandIdentifier,
        out ToolCommand toolCommand);
}