Skip to main content

Module code

Module code 

Source
Expand description

A feature’s code as a person reads it: what its branch changed since it forked — by commit, by file — and its files. The revision is never the caller’s: it is the feature’s branch, or HEAD before speccoder worked on it; a file is read only when the tree lists it.

Structs§

Changes
What the feature’s branch changed since it forked.
Commit
One commit of the feature’s branch.
File
One changed file.

Constants§

FILE_LIMIT
The largest file shown.
PATCH_LIMIT
The largest patch sent whole.

Functions§

changes
What the feature’s branch changed since it forked from HEAD.
file
One file at the feature’s revision: its text, or why not (not in the tree, binary, too large).
tree
The files at the feature’s revision (at most 20 000).