devsource

package
v0.27.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: AGPL-3.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package devsource verifies local development SDK source identities without importing native, plugin-process, profile or workspace orchestration packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyUpstreamCommit added in v0.8.0

func VerifyUpstreamCommit(ctx context.Context, directory, reviewedRevision, target string, opts VerifyOptions) error

VerifyUpstreamCommit checks a captured SDK commit without changing its checkout. It preserves the reviewed baseline and explicit isolation-source authorization.

Types

type Identity

type Identity struct {
	Directory        string
	ReviewedRevision string
	SourceDigest     string
}

func Verify

func Verify(ctx context.Context, directory, reviewedRevision string) (Identity, error)

Verify anchors the selected local source in a reviewed fixed-capability commit, verifies isolation-boundary bytes, and binds the actual current dirty tracked/untracked nonignored source tree. This trusted local-builder identity is not a sandbox and is not proof that an arbitrary binary used this source.

func VerifyWithOptions

func VerifyWithOptions(ctx context.Context, directory, reviewedRevision string, opts VerifyOptions) (Identity, error)

type VerifyOptions

type VerifyOptions struct {
	// Explicit per-workspace developer opt-in; never infer this from dirty files.
	AllowIsolationCoreChanges bool
}

Jump to

Keyboard shortcuts

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