aboutsummaryrefslogtreecommitdiff
path: root/serialize.go
diff options
context:
space:
mode:
authorFumitoshi Ukai <fumitoshi.ukai@gmail.com>2015-06-25 17:16:25 +0900
committerFumitoshi Ukai <fumitoshi.ukai@gmail.com>2015-06-25 17:16:25 +0900
commit07cf121a33d705ad1051fff1d4e6af10ab9663ec (patch)
treef2b6a4e4d933c7df46700802879863a06e4bd12e /serialize.go
parent08eda65a3991784729bd77d0d463ec108fda414c (diff)
downloadkati-07cf121a33d705ad1051fff1d4e6af10ab9663ec.tar.gz
unexport Logf, LogAlways, Warn*, Error*
Diffstat (limited to 'serialize.go')
-rw-r--r--serialize.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/serialize.go b/serialize.go
index 9a18062..f97eb8c 100644
--- a/serialize.go
+++ b/serialize.go
@@ -604,7 +604,7 @@ func LoadDepGraphCache(makefile string, roots []string) *DepGraph {
filename := cacheFilename(makefile, roots)
if !exists(filename) {
- LogAlways("Cache not found")
+ logAlways("Cache not found")
return nil
}
@@ -615,23 +615,23 @@ func LoadDepGraphCache(makefile string, roots []string) *DepGraph {
}
if mk.State == fileNotExists {
if exists(mk.Filename) {
- LogAlways("Cache expired: %s", mk.Filename)
+ logAlways("Cache expired: %s", mk.Filename)
return nil
}
} else {
c, err := ioutil.ReadFile(mk.Filename)
if err != nil {
- LogAlways("Cache expired: %s", mk.Filename)
+ logAlways("Cache expired: %s", mk.Filename)
return nil
}
h := sha1.Sum(c)
if !bytes.Equal(h[:], mk.Hash[:]) {
- LogAlways("Cache expired: %s", mk.Filename)
+ logAlways("Cache expired: %s", mk.Filename)
return nil
}
}
}
g.isCached = true
- LogAlways("Cache found!")
+ logAlways("Cache found!")
return g
}