Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for openReadDir (0.26 sec)

  1. src/archive/zip/reader.go

    	}
    	e := r.openLookup(name)
    	if e == nil {
    		return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist}
    	}
    	if e.isDir {
    		return &openDir{e, r.openReadDir(name), 0}, nil
    	}
    	rc, err := e.file.Open()
    	if err != nil {
    		return nil, err
    	}
    	return rc.(fs.File), nil
    }
    
    func split(name string) (dir, elem string, isDir bool) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top