Fix copyright, add TODOs

This commit is contained in:
Jeffrey Regan
2019-01-25 16:05:40 -08:00
parent dcb5682594
commit fd3cd47562
3 changed files with 40 additions and 5 deletions

View File

@@ -216,6 +216,10 @@ func (l *fileLoader) errIfArgEqualOrHigher(
return l.referrer.errIfArgEqualOrHigher(candidateRoot)
}
// TODO(monopole): Distinguish branches?
// I.e. Allow a distinction between git URI with
// path foo and tag bar and a git URI with the same
// path but a different tag?
func (l *fileLoader) errIfPreviouslySeenUri(uri string) error {
if strings.HasPrefix(l.uri, uri) {
return fmt.Errorf(