2 implementations of Root
dotnet (1)
ToolPackage\ToolPackageStoreAndQuery.cs (1)
15public DirectoryPath Root { get; private set; } = new DirectoryPath(Path.GetFullPath(root.Value));
Microsoft.DotNet.Tools.Tests.ComponentMocks (1)
ToolPackageStoreMock.cs (1)
29public DirectoryPath Root { get; private set; }
10 references to Root
dotnet (1)
ToolPackage\ToolPackageDownloaderBase.cs (1)
159var nugetPackageRootDirectory = new VersionFolderPathResolver(_toolPackageStore.Root.Value).GetInstallPath(packageId.ToString(), packageVersion);
Microsoft.DotNet.PackageInstall.Tests (9)
ToolPackageDownloaderTests.cs (8)
588.Exists(store.Root.WithSubDirectories(TestPackageId.ToString()).Value) 596.EnumerateFileSystemEntries(store.Root.WithSubDirectories(ToolPackageStoreAndQuery.StagingDirectory).Value) 836package.PackageDirectory.Value.Should().Contain(store.Root.Value); 847package.Command.Executable.Value.Should().Contain(store.Root.Value); 852if (!fileSystem.Directory.Exists(store.Root.Value)) 859.EnumerateFileSystemEntries(store.Root.Value) 865.EnumerateFileSystemEntries(store.Root.WithSubDirectories(ToolPackageStoreAndQuery.StagingDirectory).Value) 920store.Root.Value.Should().Be(Path.GetFullPath(toolsRoot.Value));
ToolPackageUninstallerTests.cs (1)
114store.Root.Value.Should().Be(Path.GetFullPath(root.Value));