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

Method IsDir

internal/safepaths/link_windows_test.go:169–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167func (i reparsePointInfo) Mode() fs.FileMode { return i.mode }
168func (reparsePointInfo) ModTime() time.Time { return time.Time{} }
169func (i reparsePointInfo) IsDir() bool { return i.mode.IsDir() }
170func (i reparsePointInfo) Sys() any {
171 return &syscall.Win32FileAttributeData{FileAttributes: i.attributes}
172}

Callers 15

sourceFilesLaterThanFunction · 0.80
FindNonLegacyFunction · 0.80
FindLegacyFunction · 0.80
listFilesFunction · 0.80
lstatFunction · 0.80
scanInstalledSkillsFunction · 0.80
scanInstalledSkillsFunction · 0.80
printTreeDirFunction · 0.80
detectCodeAndManifestsFunction · 0.80
Test_DownloadFunction · 0.80
testArtifactZipFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected