Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ isSymlink
Function
isSymlink
pkg/cmd/extension/manager.go:718–720 ·
view source on GitHub ↗
(m os.FileMode)
Source
from the content-addressed store, hash-verified
716
}
717
718
func
isSymlink(m os.FileMode) bool {
719
return
m&os.ModeSymlink != 0
720
}
721
722
func
writeFile(p string, contents []byte, mode os.FileMode) error {
723
if
dir := filepath.Dir(p); dir !=
"."
{
Callers
1
list
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected