Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readDirWithOpts (0.06 sec)

  1. 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)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top