]> Cypherpunks.ru repositories - goredo.git/blobdiff - dot.go
Rename IfchangeDummy for clarity
[goredo.git] / dot.go
diff --git a/dot.go b/dot.go
index a77ec69197fda3e1b2c07daf950de2a542f73d8c..d40c22069db080213c4c9e3c697211bd3d19af63 100644 (file)
--- a/dot.go
+++ b/dot.go
@@ -52,8 +52,8 @@ func dotWalker(data map[DotNodes]bool, tgt *Tgt) (map[DotNodes]bool, error) {
                switch typ {
                case DepTypeIfcreate:
                        data[DotNodes{tgt.rel, NewTgt(path.Join(tgtH, string(chunk))).rel}] = true
-               case DepTypeIfchange, DepTypeIfchangeDummy:
-                       if typ == DepTypeIfchangeDummy {
+               case DepTypeIfchange, DepTypeIfchangeNonex:
+                       if typ == DepTypeIfchangeNonex {
                                name = string(chunk)
                        } else {
                                name = string(chunk[InodeLen+HashLen:])