}
switch m["Type"] {
case DepTypeIfcreate:
- data[DotNodes{tgt.String(), NewTgt(m["Target"]).String()}] = true
+ data[DotNodes{tgt.rel, NewTgt(string(chunk)).rel}] = true
case DepTypeIfchange:
dep = NewTgt(path.Join(tgt.h, m["Target"]))
if dep.a == tgt.a {
continue
}
- data[DotNodes{tgt.String(), dep.String()}] = false
+ data[DotNodes{tgt.rel, dep.rel}] = false
if isSrc(dep) {
continue
}