- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for followDirSymlink (0.09 sec)
-
cmd/os_windows.go
// file/directory. if osIsNotExist(err) || isSysErrPathNotFound(err) || isSysErrTooManySymlinks(err) { continue } return nil, err } if !opts.followDirSymlink && fi.IsDir() { // directory symlinks are ignored. continue } case data.FileAttributes&syscall.FILE_ATTRIBUTE_DIRECTORY != 0: name += SlashSeparator } count--
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 5.1K bytes - Viewed (0) -
cmd/os_other.go
if osIsNotExist(err) || isSysErrPathNotFound(err) || isSysErrTooManySymlinks(err) { continue } return nil, err } // Ignore symlinked directories. if !opts.followDirSymlink && fi.IsDir() { continue } } if fi.IsDir() { // Append SlashSeparator instead of "\" so that sorting is achieved as expected. entries = append(entries, fi.Name()+SlashSeparator)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 13 15:14:36 UTC 2023 - 4K bytes - Viewed (0) -
cmd/os_unix.go
if osIsNotExist(err) || isSysErrPathNotFound(err) || isSysErrTooManySymlinks(err) { continue } return nil, err } // Ignore symlinked directories. if !opts.followDirSymlink && typ&os.ModeSymlink == os.ModeSymlink && fi.IsDir() { continue } typ = fi.Mode() & os.ModeType } var nameStr string if typ.IsRegular() { nameStr = string(name)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0)