15 references to PathResolver
Microsoft.DotNet.Build.Tasks.Packaging (3)
NuGetPack.cs (3)
280
PathResolver
.FilterPackageFiles(
288
path =>
PathResolver
.GetMatches(builder.Files, file => file.Path, new[] { path }).Any());
304
PathResolver
.FilterPackageFiles(
NuGet.Commands (3)
CommandRunners\PackCommandRunner.cs (3)
684
PathResolver
.FilterPackageFiles(packageFiles, ResolvePath, wildCards);
803
PathResolver
.FilterPackageFiles(files, file => file.Path, LibPackageExcludes);
808
PathResolver
.FilterPackageFiles(files, file => file.Path, SymbolPackageExcludes);
NuGet.Packaging (8)
PackageCreation\Authoring\PackageBuilder.cs (8)
1034
if (!
PathResolver
.IsWildcardSearch(source) && !
PathResolver
.IsDirectoryPath(source) && !searchFiles.Any() && string.IsNullOrEmpty(exclude))
1046
IEnumerable<
PathResolver
.SearchPathResult> searchResults =
PathResolver
.PerformWildcardSearch(basePath, searchPath, includeEmptyDirectories, out normalizedBasePath);
1070
bool isDirectorySearch =
PathResolver
.IsDirectoryPath(searchPattern);
1071
bool isWildcardSearch =
PathResolver
.IsWildcardSearch(searchPattern);
1131
string wildCard =
PathResolver
.NormalizeWildcardForExcludedFiles(basePath, item);
1132
PathResolver
.FilterPackageFiles(searchFiles, p => p.SourcePath!, new[] { wildCard });
NuGet.Protocol (1)
Utility\LocalFolderUtility.cs (1)
1057
return
PathResolver
.PerformWildcardSearch(Directory.GetCurrentDirectory(), packagePath);