Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Provide(New)
Module provides a new WorkspaceUtils.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct {
fx.In
IdeGateway ideclient.Gateway
Logger *zap.SugaredLogger
FS fs.UlspFS
Executor executor.Executor
}
Params are the parameters required to create a new WorkspaceUtils.
type WorkspaceUtils ¶
type WorkspaceUtils interface {
GetWorkspaceRoot(ctx context.Context, workspaceFolders []protocol.WorkspaceFolder) (string, error)
GetRepoName(ctx context.Context, dir string) (entity.MonorepoName, error)
GetEnv(ctx context.Context, dir string) ([]string, error)
}
WorkspaceUtils is a utility interface for getting workspace related information.
Click to show internal directories.
Click to hide internal directories.