Skip to main content

Module diff

Module diff 

Source
Expand description

mitosis diff: what a clone changed against the template generation it was made from.

The base side is a private, socket-only Postgres on a copy-on-write clone of the generation folder; a guard stops it and deletes the folder on every path. Both sides are read with psql.

Constants§

DEFAULT_LIMIT
Rows shown per kind when --limit is not given.
MAX_LIMIT
The most rows per kind --limit accepts.

Functions§

check_session
Refuses a clone that does not belong to the MCP session parent_pid.
diff
render
The report as text: Schema, Row counts and (with --table) Rows.