Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/eth0izzle/shhgit
/ LogIfError
Function
LogIfError
core/util.go:37–41 ·
view source on GitHub ↗
(text string, err error)
Source
from the content-addressed store, hash-verified
35
}
36
37
func
LogIfError(text string, err error) {
38
if
err != nil {
39
GetSession().Log.Error(
"%s (%s"
, text, err.Error())
40
}
41
}
42
43
func
GetHash(s string) string {
44
h := sha1.New()
Callers
1
InitCsvWriter
Method · 0.85
Calls
2
GetSession
Function · 0.85
Error
Method · 0.80
Tested by
no test coverage detected