+ dep := NewTgt(path.Join(tgt.h, depRaw))
+
+ cachedFound := false
+ for _, cachedInode := range InodeCache[dep.a] {
+ if inode.Equals(cachedInode) {
+ inode = cachedInode
+ cachedFound = true
+ break
+ }
+ }
+ if InodeCache != nil && !cachedFound {
+ InodeCache[dep.a] = append(InodeCache[dep.a], inode)
+ }
+
+ hsh := string(mustHexDecode(m["Hash"]))
+ cachedFound = false
+ for _, cachedHash := range HashCache[dep.a] {
+ if hsh == cachedHash {
+ hsh = cachedHash
+ cachedFound = true
+ break
+ }
+ }
+ if HashCache != nil && !cachedFound {
+ HashCache[dep.a] = append(HashCache[dep.a], hsh)
+ }
+