1 write to Path
NuGet.Protocol (1)
LocalRepositories\LocalPackageInfo.cs (1)
48Path = path;
14 references to Path
NuGet.PackageManagement (1)
Projects\FolderNuGetProject.cs (1)
463return package.Path;
NuGet.Protocol (13)
LocalRepositories\FindLocalPackagesResourceUnzipped.cs (1)
91var path = UriUtility.CreateSourceUri(package.Path, UriKind.Absolute);
LocalRepositories\LocalDependencyInfoResource.cs (1)
155downloadUri: UriUtility.CreateSourceUri(package.Path, UriKind.Absolute),
LocalRepositories\LocalDownloadResource.cs (2)
72var stream = File.OpenRead(packageInfo.Path); 75HttpStreamValidation.ValidatePackageIdentity(packageInfo.Path, stream, identity);
LocalRepositories\LocalPackageInfo.cs (4)
55var directoryName = System.IO.Path.Combine(System.IO.Path.GetDirectoryName(Path), System.IO.Path.GetFileNameWithoutExtension(Path)); 60return new PackageArchiveReader(Path); 109return Path.EndsWith(PackagingCoreConstants.NupkgExtension, StringComparison.OrdinalIgnoreCase);
LocalRepositories\LocalV2FindPackageByIdResource.cs (2)
176using (var fileStream = File.OpenRead(info.Path)) 323packageDownloader = new LocalPackageArchiveDownloader(_source, packageInfo.Path, packageInfo.Identity, logger);
Model\LocalPackageSearchMetadata.cs (3)
144public string PackagePath => _package.Path; 203var baseUri = Convert(_package.Path); 222var baseUri = Convert(_package.Path);