diff options
Diffstat (limited to 'format/commitgraph/mode.go')
| -rw-r--r-- | format/commitgraph/mode.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/format/commitgraph/mode.go b/format/commitgraph/mode.go new file mode 100644 index 00000000..71b55412 --- /dev/null +++ b/format/commitgraph/mode.go @@ -0,0 +1,11 @@ +package commitgraph + +// OpenMode controls which commit-graph layout Open loads. +type OpenMode uint8 + +const ( + // OpenSingle opens one commit-graph file at info/commit-graph. + OpenSingle OpenMode = iota + // OpenChain opens chained commit-graphs from info/commit-graphs. + OpenChain +) |
