Documentation
¶
Overview ¶
Package baseline resolves one base revision and admits lazy input views. Metadata and missing changed bodies use the shared cache owner, while unchanged baseline bodies reuse admitted current bytes. The checkout and its Git object store are read-only throughout selection and rendering.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdmitDirectory ¶ added in v0.7.3
func AdmitDirectory( ctx context.Context, path, root string, scope manifest.WorkScope, ) ( _ *store.SourceArtifact, _ string, resultErr error, )
AdmitDirectory resolves disk coordinates before constructing a direct reader. Synthetic labels belong to already admitted inputs and MUST bypass this path.
Types ¶
type Result ¶
type Result struct {
Source *store.SourceArtifact
BaseInput *store.SourceArtifact
ScanPath string
BaseScanPath string
Changes *change.Set
SelfURLs []string
}
Result retains admitted inputs and one selection for both render sides.
func AutoResolve ¶
AutoResolve resolves the base once and admits lazy readers owned by owner. The checkout MUST remain stable until all readers have joined. An error may return diagnostic-only inputs with no usable content.
func ResolvePaths ¶ added in v0.7.3
ResolvePaths admits both inputs and retains their canonical scan paths. Only an absent original repository selects the current repository's identity. The original path must be non-empty.