Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodisLabs/codis
/ mkdirFor
Function
mkdirFor
pkg/models/fs/fsclient.go:59–65 ·
view source on GitHub ↗
(file string)
Source
from the content-addressed store, hash-verified
57
}
58
59
func
mkdirFor(file string) error {
60
dir, _ := filepath.Split(file)
61
if
dir !=
""
{
62
return
mkdirAll(dir)
63
}
64
return
nil
65
}
66
67
func
(c *Client) lockFs() error {
68
if
c.lockfd != nil {
Callers
2
lockFs
Method · 0.85
writeFile
Method · 0.85
Calls
1
mkdirAll
Function · 0.85
Tested by
no test coverage detected