Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageSet ¶
PackageSet is a collection of Go packages. Key is the full package import path, value indicates if the package has been indexed.
func GetIndexedPackages ¶
func GetIndexedPackages(content io.Reader) (PackageSet, error)
GetIndexedPackages returns the set of packages that have already been indexed. It finds all entries matching the regex `github\.com/Azure/azure-sdk-for-go/services/.*?"`.
func GetPackagesForIndexing ¶
func GetPackagesForIndexing(dir string) (PackageSet, error)
GetPackagesForIndexing returns the set of packages, calculated from the specified directory, to be indexed. Each directory entry is converted to a complete package path, e.g. "github.com/Azure/azure-sdk-for-go/services/foo/...".
Click to show internal directories.
Click to hide internal directories.