/*
goredo -- redo implementation on pure Go
-Copyright (C) 2020 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2020-2021 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
if _, err := os.Stat(path.Join(d, f)); err != nil {
return false
}
+ if _, err := os.Stat(path.Join(d, f+".do")); err == nil {
+ return false
+ }
if _, err := os.Stat(path.Join(d, RedoDir, f+DepSuffix)); err == nil {
return false
}