function
InspectArtifacts
Inspect exact local history against the live ledger without mutation.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
config | Config | The config value. |
directory | string | The directory value. |
executableManifest | schema.Manifest | The executableManifest value. |
Returns
The declared result.
([]MigrationStatus, error)How it works
CLI plan/status validates and precompiles the exact in-memory history through the executable manifest before connecting, then uses that retained snapshot for every ledger check.
Full signature
func InspectArtifacts(
ctx context.Context,
config Config,
directory string,
executableManifest schema.Manifest,
) ([]MigrationStatus, error)Related types
ConfigRuntime-only MongoDB connection behavior.
ManifestAn immutable versioned schema contract.
MigrationStatusOne immutable artifact relative to the MongoDB ledger.