Skip to main content

Module diff

Module diff 

Source
Expand description

Diffs between two store revisions (SPEC 9.3).

  • Semantic: per entity, the fields added, removed or changed (env.GITHUB_TOOLSETS: "repos" -> "repos,issues"). TOML files are compared field by field (tables, inline ones included, flattened to dotted paths; arrays as one value); references are shown as written, since the store holds references only. Other text (skill content) is a unified diff.
  • Raw: the unified git diff.

Structs§

EntityChange
One changed store file, named by its entity.
FieldChange
One field of a TOML entity: absent on the side that lacks it. Values are TOML text ("repos", ["-y", "pkg"], 60).

Enums§

ChangeKind
How an entity file changed.

Functions§

entity_of
The entity a store file belongs to (the Surjection-Entity trailer value); the file name for store-level files.
render
The changes as text, one block per file:
trailer_entities
The Surjection-Entity trailers of a commit changing files: each known entity once, in file order.