check: an initial pass at a validation check
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
6db2f462a1
commit
2fd41fb43f
5 changed files with 101 additions and 13 deletions
|
@ -47,7 +47,7 @@ type Entry struct {
|
|||
}
|
||||
|
||||
func (e Entry) Path() string {
|
||||
if e.Parent == nil {
|
||||
if e.Parent == nil || e.Type == FullType {
|
||||
return e.Name
|
||||
}
|
||||
return filepath.Join(e.Parent.Path(), e.Name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue