Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/apache/answer
/ CreateDirIfNotExist
Function
CreateDirIfNotExist
pkg/dir/dir.go:28–30 ·
view source on GitHub ↗
(path string)
Source
from the content-addressed store, hash-verified
26
)
27
28
func
CreateDirIfNotExist(path string) error {
29
return
os.MkdirAll(path, os.ModePerm)
30
}
31
32
func
CheckDirExist(path string) bool {
33
f, err := os.Stat(path)
Callers
10
PurgeDeletedFiles
Method · 0.92
NewUploaderService
Function · 0.92
AvatarThumbFile
Method · 0.92
InstallConfigFile
Function · 0.92
installUploadDir
Function · 0.92
InstallI18nBundle
Function · 0.92
createMainGoFile
Function · 0.92
copyDirEntries
Function · 0.92
NewDB
Function · 0.92
NewCache
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected