Expand description
What the Changes panel compares: the files that say what a project is and how its analysis
was done (session.json, pipeline.json, project.json), read and normalised, and what they
are compared against (Baseline). kitchen-shell’s ChangesPanel draws the diffs.
Enums§
- Baseline
- What the watched files are compared against.
Functions§
- git_
head - The file in the last commit of the repository it is in (
Nonewhen it is not in one, or not committed). - is_json
- Whether
pathis JSON (compared by key, not by line order). - normalise
textas pretty JSON with sorted keys when it is JSON, else as is (so a proposal and the file compare line by line, and the accepted hunks make a valid file).- read
- The file’s text (empty when it cannot be read) and when it was last modified.