diff options
Diffstat (limited to 'reachability/domain.go')
| -rw-r--r-- | reachability/domain.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/reachability/domain.go b/reachability/domain.go new file mode 100644 index 00000000..9fcf721e --- /dev/null +++ b/reachability/domain.go @@ -0,0 +1,11 @@ +package reachability + +// Domain specifies which graph edges are traversed. +type Domain uint8 + +const ( + // DomainCommits traverses commit-parent edges and annotated-tag target edges. + DomainCommits Domain = iota + // DomainObjects traverses full commit/tree/blob objects. + DomainObjects +) |
