Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/conventionalcommit/commitlint
/ isFileExists
Function
isFileExists
internal/config.go:79–85 ·
view source on GitHub ↗
(fileName string)
Source
from the content-addressed store, hash-verified
77
}
78
79
func
isFileExists(fileName string) (bool, error) {
80
_, err := os.Stat(fileName)
81
if
errors.Is(err, os.ErrNotExist) {
82
return
false, nil
83
}
84
return
err == nil, err
85
}
Callers
1
LookupConfigPath
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected