Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for unzip (0.07 sec)

  1. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    // size does not match its declared size).
    //
    // dir may or may not exist: Unzip will create it and any missing parent
    // directories if it doesn't exist. If dir exists, it must be empty.
    func Unzip(dir string, m module.Version, zipFile string) (err error) {
    	defer func() {
    		if err != nil {
    			err = &zipError{verb: "unzip", path: zipFile, err: err}
    		}
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/fetch.go

    	if err != nil {
    		return "", err
    	}
    
    	unlock, err := lockVersion(ctx, mod)
    	if err != nil {
    		return "", err
    	}
    	defer unlock()
    
    	ctx, span = trace.StartSpan(ctx, "unzip "+zipfile)
    	defer span.Done()
    
    	// Check whether the directory was populated while we were waiting on the lock.
    	_, dirErr := DownloadDir(ctx, mod)
    	if dirErr == nil {
    		return dir, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top