MCPcopy Create free account
hub / github.com/cli/cli / isSymlink

Function isSymlink

pkg/cmd/extension/manager.go:723–725  ·  view source on GitHub ↗
(m os.FileMode)

Source from the content-addressed store, hash-verified

721}
722
723func isSymlink(m os.FileMode) bool {
724 return m&os.ModeSymlink != 0
725}
726
727func writeFile(p string, contents []byte, mode os.FileMode) error {
728 if dir := filepath.Dir(p); dir != "." {

Callers 1

listMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected