]> Cypherpunks.ru repositories - goredo.git/blobdiff - dot.go
Raise copyright years in advance
[goredo.git] / dot.go
diff --git a/dot.go b/dot.go
index a77ec69197fda3e1b2c07daf950de2a542f73d8c..e311c3044b64b89b5f87af1e909d3695616d586d 100644 (file)
--- a/dot.go
+++ b/dot.go
@@ -1,6 +1,6 @@
 /*
 goredo -- djb's redo implementation on pure Go
-Copyright (C) 2020-2023 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2020-2024 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -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:])