function
InspectArtifacts
func InspectArtifacts(
ctx context.Context,
config Config,
directory string,
executableManifest schema.Manifest,
) ([]MigrationStatus, error)Inspect exact local history against the live ledger without mutation.
Source adapters/mongodb/migration_runner.go:447
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.
Related types
ConfigRuntime-only MongoDB connection behavior.
ManifestAn immutable versioned schema contract.
MigrationStatusOne immutable artifact relative to the MongoDB ledger.