Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mister-leo/fssh
/ copyFile
Function
copyFile
cmd/fssh/config_gen.go:113–117 ·
view source on GitHub ↗
(src, dst string)
Source
from the content-addressed store, hash-verified
111
}
112
113
func
copyFile(src, dst string) error {
114
b, err := os.ReadFile(src)
115
if
err != nil {
return
nil }
116
return
os.WriteFile(dst, b, 0600)
117
}
Callers
1
cmdConfigGen
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected