Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/postgres: add GetPackagesInDirectory
GetPackagesInDirectory is added, which uses the paths table to get all of the packages within a given directory path. This will replace LegacyGetDirectory and LegacyGetPackagesInModule in creating the directories tab. For golang/go#39629 Change-Id: I4b39690e838756421bee9b5ca389081e184761bf Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/241838 Reviewed-by: Jonathan Amsterdam <jba@google.com>
- Loading branch information
Showing
4 changed files
with
239 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters