Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/test-utils_test.go

    			t.Fatalf("Unexpected err: %#v", errP)
    		}
    		rec = httptest.NewRecorder()
    		apiRouter.ServeHTTP(rec, reqC)
    		checkRespErr(rec, http.StatusOK)
    	}
    }
    
    // unzip a file into a specific target dir - used to unzip sample data in cmd/testdata/
    func unzipArchive(zipFilePath, targetDir string) error {
    	zipReader, err := zip.OpenReader(zipFilePath)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    		// created by Go, before we wrote the "optional" data
    		// descriptor signatures (which are required by macOS).
    		// Use obscured file to avoid Appleā€™s notarization service
    		// rejecting the toolchain due to an inability to unzip this archive.
    		// See golang.org/issue/34986
    		Name:     "go-no-datadesc-sig.zip.base64",
    		Obscured: true,
    		File: []ZipTestFile{
    			{
    				Name:     "foo.txt",
    				Content:  []byte("foo\n"),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top