Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/freedomofdevelopers/fod
/ openFile
Function
openFile
fodcmd/main.go:27–33 ·
view source on GitHub ↗
(f string)
Source
from the content-addressed store, hash-verified
25
}
26
27
func
openFile(f string) (io.WriteCloser, error) {
28
fl, err := os.Create(f)
29
if
err != nil {
30
return
nil, err
31
}
32
return
fl, nil
33
}
34
35
func
load(path string) ([]string, error) {
36
f, err := os.Open(path)
Callers
1
execute
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected