cola.models.classic – Classic model

Provides git actions used by the QStandardItemModel-derived GitRepoModel.

class cola.models.classic.ClassicModel

Defines data used by the classic view.

everything()
Returns a sorted list of all files, including untracked files.
revert_paths(paths)
Revert paths to the content from HEAD.
stage_paths(paths)
Adds paths to git and notifies observers.
unstage_paths(paths)
Unstages paths from the staging area and notifies observers.

Previous topic

cola.models.observable – Observable base class

Next topic

cola.models.gitrepo – Git repo model

This Page