diff --git a/cmd/addblock/config.go b/cmd/addblock/config.go index ffcc0eca..d49df0a1 100644 --- a/cmd/addblock/config.go +++ b/cmd/addblock/config.go @@ -45,7 +45,7 @@ type config struct { TxIndex bool `long:"txindex" description:"Build a full hash-based transaction index which makes all transactions available via the getrawtransaction RPC"` } -// filesExists reports whether the named file or directory exists. +// fileExists reports whether the named file or directory exists. func fileExists(name string) bool { if _, err := os.Stat(name); err != nil { if os.IsNotExist(err) { diff --git a/cmd/gencerts/gencerts.go b/cmd/gencerts/gencerts.go index 328d5ea7..0c91b6fb 100644 --- a/cmd/gencerts/gencerts.go +++ b/cmd/gencerts/gencerts.go @@ -90,7 +90,7 @@ func cleanAndExpandPath(path string) string { return filepath.Clean(os.ExpandEnv(path)) } -// filesExists reports whether the named file or directory exists. +// fileExists reports whether the named file or directory exists. func fileExists(name string) bool { if _, err := os.Stat(name); err != nil { if os.IsNotExist(err) { diff --git a/config.go b/config.go index f8aad70c..a566f79e 100644 --- a/config.go +++ b/config.go @@ -384,7 +384,7 @@ func parseCheckpoints(checkpointStrings []string) ([]chaincfg.Checkpoint, error) return checkpoints, nil } -// filesExists reports whether the named file or directory exists. +// fileExists reports whether the named file or directory exists. func fileExists(name string) bool { if _, err := os.Stat(name); err != nil { if os.IsNotExist(err) { diff --git a/database/ffldb/db.go b/database/ffldb/db.go index 8fc4d326..3e96bfc7 100644 --- a/database/ffldb/db.go +++ b/database/ffldb/db.go @@ -2071,7 +2071,7 @@ func (db *db) Close() error { return closeErr } -// filesExists reports whether the named file or directory exists. +// fileExists reports whether the named file or directory exists. func fileExists(name string) bool { if _, err := os.Stat(name); err != nil { if os.IsNotExist(err) {