GitSubmoduleDependencyScanner Class
Scans Git .gitmodules files for submodule references. The dependency name is the url as written in .gitmodules, and the version is the commit recorded in the git index, or null when the index cannot be read. The submodule name, path and branch, and the url resolved against remote.origin.url when it is relative, are available in Dependency.Metadata.
public sealed class GitSubmoduleDependencyScanner : DependencyScanner- Inheritance
DependencyScannerGitSubmoduleDependencyScanner
Constructors
| Name | Description |
|---|---|
| GitSubmoduleDependencyScanner() |
GitSubmoduleDependencyScanner()
GitSubmoduleDependencyScanner.cspublic GitSubmoduleDependencyScanner()No documentation is available.
Methods
| Name | Description |
|---|---|
| ScanAsync(ScanFileContext) |
ScanAsync(ScanFileContext)
GitSubmoduleDependencyScanner.csnet10.0
public override ValueTask ScanAsync(ScanFileContext context)net11.0
public override ValueTask ScanAsync(ScanFileContext context)No documentation is available.