Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MertJSX/folderhost
/ CopySymLink
Function
CopySymLink
utils/copy_functions.go:84–90 ·
view source on GitHub ↗
(source, dest string)
Source
from the content-addressed store, hash-verified
82
}
83
84
func
CopySymLink(source, dest string) error {
85
link, err := os.Readlink(source)
86
if
err != nil {
87
return
err
88
}
89
return
os.Symlink(link, dest)
90
}
Callers
1
CopyDirectory
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected