aboutsummaryrefslogtreecommitdiff
path: root/internal/datasource.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/datasource.go')
-rw-r--r--internal/datasource.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/datasource.go b/internal/datasource.go
index f6bf8c84..59f0afa1 100644
--- a/internal/datasource.go
+++ b/internal/datasource.go
@@ -95,6 +95,8 @@ type DataSource interface {
GetVersionsForPath(ctx context.Context, path string) ([]*ModuleInfo, error)
// GetModulePackages returns a list of packages in the given module version.
GetModulePackages(ctx context.Context, modulePath, version string) ([]*PackageMeta, error)
+ // GetSymbols returns symbols for the given unit and build context.
+ GetSymbols(ctx context.Context, pkgPath, modulePath, version string, bc BuildContext) ([]*Symbol, error)
// SearchSupport reports the search types supported by this datasource.
SearchSupport() SearchSupport