Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/apache/answer
/ CheckFileExist
Function
CheckFileExist
pkg/dir/dir.go:37–40 ·
view source on GitHub ↗
(path string)
Source
from the content-addressed store, hash-verified
35
}
36
37
func
CheckFileExist(path string) bool {
38
f, err := os.Stat(path)
39
return
err == nil && !f.IsDir()
40
}
41
42
func
DirSize(path string) (int64, error) {
43
var
size int64
Callers
7
initReservedUsername
Function · 0.92
InstallI18nBundle
Function · 0.92
copyUIFiles
Function · 0.92
CheckConfigFile
Function · 0.92
ReplaceI18nFilesLocal
Function · 0.92
GetConnection
Method · 0.92
RegisterStaticRouter
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected