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

@param ctx
The ctx value.
@param config
The config value.
@param directory
The directory value.
@param executableManifest
The executableManifest value.
@returns
The declared result.

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

  • Config

    Runtime-only MongoDB connection behavior.

  • Manifest

    An immutable versioned schema contract.

  • MigrationStatus

    One immutable artifact relative to the MongoDB ledger.