- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for readDirWithOpts (0.28 seconds)
-
cmd/os_windows.go
if err = filter(name, typ); err == errDoneForNow { // filtering requested to return by caller. return nil } } return nil } // Return N entries at the directory dirPath. func readDirWithOpts(dirPath string, opts readDirOpts) (entries []string, err error) { // Ensure we don't pick up files as directories. globAll := filepath.Clean(dirPath) + `\*` globAllP, err := syscall.UTF16PtrFromString(globAll)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5K bytes - Click Count (0) -
cmd/os_unix.go
// fn() requested to return by caller. return nil } } return err } // Return count entries at the directory dirPath and all entries // if count is set to -1 func readDirWithOpts(dirPath string, opts readDirOpts) (entries []string, err error) { fd, err := openFileWithFD(dirPath, readMode, 0o666) if err != nil { if !osIsPermission(err) { return nil, osErrToFileErr(err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.3K bytes - Click Count (0)