Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collector ¶
type Collector struct {
collector.BaseCollector
}
Collector is package collector for nuget project examples: https://github.com/NuGet/Samples
func NewCollector ¶
func NewCollector() *Collector
type DepsJsonFileParser ¶
type DepsJsonFileParser struct { }
DepsJsonFileParser is a parser for deps.json file see: https://github.com/dotnet/cli/blob/v2.1.400/Documentation/specs/runtime-configuration-file.md
func NewDepsJsonFileParser ¶
func NewDepsJsonFileParser() *DepsJsonFileParser
NewDepsJsonFileParser returns a new DepsJsonFileParser
func (DepsJsonFileParser) Matcher ¶
func (g DepsJsonFileParser) Matcher() collector.FileMatcher
type DotnetProjFileParser ¶
type DotnetProjFileParser struct { }
DotnetProjFileParser is a parser for msbuild project file see: https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-project-file-schema-reference?view=vs-2022#msbuild-xml-schema-elements
https://learn.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files
func NewDotnetProjFileParser ¶
func NewDotnetProjFileParser() *DotnetProjFileParser
NewDotnetProjFileParser returns a new DotnetProjFileParser
func (DotnetProjFileParser) Matcher ¶
func (g DotnetProjFileParser) Matcher() collector.FileMatcher
type NuGetJsonFileParser ¶
type NuGetJsonFileParser struct { }
func NewNuGetJsonFileParser ¶
func NewNuGetJsonFileParser() *NuGetJsonFileParser
NewNuGetJsonFileParser returns a new NuGetJsonFileParser
func (NuGetJsonFileParser) Matcher ¶
func (g NuGetJsonFileParser) Matcher() collector.FileMatcher
type NuspecFileParser ¶
type NuspecFileParser struct { }
NuspecFileParser is a parser for nuspec file see: https://learn.microsoft.com/en-us/nuget/reference/nuspec
func NewNuspecFileParser ¶
func NewNuspecFileParser() *NuspecFileParser
NewNuspecFileParser returns a new DotnetProjFileParser
func (NuspecFileParser) Matcher ¶
func (g NuspecFileParser) Matcher() collector.FileMatcher
type PackagesConfigFileParser ¶
type PackagesConfigFileParser struct { }
PackagesConfigFileParser is a parser for packages.json file see: https://learn.microsoft.com/zh-cn/nuget/reference/packages-config
func NewPackagesConfigFileParser ¶
func NewPackagesConfigFileParser() *PackagesConfigFileParser
NewPackagesConfigFileParser returns a new PackagesConfigFileParser
func (PackagesConfigFileParser) Matcher ¶
func (g PackagesConfigFileParser) Matcher() collector.FileMatcher
type PackagesLockJsonFileParser ¶
type PackagesLockJsonFileParser struct { }
PackagesLockJsonFileParser is a parser for packages.lock.json file see: https://learn.microsoft.com/zh-cn/nuget/reference/packages-config
func NewPackagesLockJsonFileParser ¶
func NewPackagesLockJsonFileParser() *PackagesLockJsonFileParser
NewPackagesLockJsonFileParser returns a new PackagesLockJsonFileParser
func (PackagesLockJsonFileParser) Matcher ¶
func (g PackagesLockJsonFileParser) Matcher() collector.FileMatcher