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