Crate scm_record

source ·
Expand description

Reusable change selector UI for source control systems.

Modules

  • Special runtime variables.
  • Helper functions for rendering UI components.

Structs

  • The state of a file to be recorded.
  • The Unix file mode. The special mode 0 indicates that the file did not exist.
  • The state used to render the changes. This is passed into [Recorder::new] and then updated and returned with [Recorder::run].
  • UI component to record the user’s changes.
  • A changed line inside a Section.
  • A copy of the contents of the screen at a certain point in time.

Enums

  • The type of change in the patch/diff.
  • The source to read user events from.
  • An error which occurred when attempting to record changes.
  • A section of a file to be rendered and recorded.
  • The contents of a file selected as part of the record operation.