From 8ebc9fbc342ad9c89b52dd730a2baa4d3580c1e4 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 8 Nov 2018 20:06:05 +0000 Subject: [PATCH] cmd/go/internal/cache: fix wrong/old function name in comment Change-Id: Ia0caf2fb06097ac184f78779334460900e8c0149 Reviewed-on: https://go-review.googlesource.com/c/148580 Reviewed-by: Ian Lance Taylor --- src/cmd/go/internal/cache/hash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/go/internal/cache/hash.go b/src/cmd/go/internal/cache/hash.go index 0e45e7db54..e4bb2a34bb 100644 --- a/src/cmd/go/internal/cache/hash.go +++ b/src/cmd/go/internal/cache/hash.go @@ -123,7 +123,7 @@ var hashFileCache struct { m map[string][HashSize]byte } -// HashFile returns the hash of the named file. +// FileHash returns the hash of the named file. // It caches repeated lookups for a given file, // and the cache entry for a file can be initialized // using SetFileHash. -- 2.48.1