internal

package
v1.51.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogUnusedConfiguredDepsForWorkspace

func LogUnusedConfiguredDepsForWorkspace(
	workspace bufworkspace.Workspace,
	logger *slog.Logger,
) error

LogUnusedConfiguredDepsForWorkspace takes a workspace and logs the unused configured dependencies as warnings to the user.

func ModuleKeysAndTransitiveDepModuleKeysForModuleRefs

func ModuleKeysAndTransitiveDepModuleKeysForModuleRefs(
	ctx context.Context,
	container appext.Container,
	moduleRefs []bufparse.Ref,
	digestType bufmodule.DigestType,
) ([]bufmodule.ModuleKey, error)

ModuleKeysAndTransitiveDepModuleKeysForModuleRefs gets the ModuleKeys for the ModuleRefs, and all the transitive dependencies.

func Prune

func Prune(
	ctx context.Context,
	logger *slog.Logger,
	controller bufctl.Controller,

	bufYAMLBasedDepModuleKeys []bufmodule.ModuleKey,
	workspaceDepManager bufworkspace.WorkspaceDepManager,
	dirPath string,
) error

Prune prunes the buf.lock.

Used by dep/mod prune.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL