/usr/lib/Wt/examples/gitmodel/README.md is in witty-examples 3.3.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | Git example
-----------
This example shows a git repository browser. It shows the contents of
the master version of a git repository, using low-level git commands
to query the git repository.
It illustrates how to build a read-only custom abstract item model.
How to run
----------
See the README in the parent directory.
You can set the GITVIEW_REPOSITORY_PATH environment variable to indicate
a default repository location (which should be a bare repository or the
'.git' folder within a normal repository).
What it illustrates
-------------------
- how to specialize WAbstractItemModel to implement tree-like models
- the use of layout managers for a window-filling layout
- the use of WTreeView with a custom item model
|