Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tmp_dir (0.28 sec)

  1. src/archive/zip/reader_test.go

    		0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x39, 0x00,
    		0x00, 0x00, 0x59, 0x00, 0x00, 0x00, 0x00, 0x00,
    	}
    
    	// Read in the archive with the OpenReader interface
    	name := filepath.Join(t.TempDir(), "test.zip")
    	err := os.WriteFile(name, data, 0644)
    	if err != nil {
    		t.Fatalf("Unable to write out the bugos zip entry")
    	}
    	r, err := OpenReader(name)
    	if r != nil {
    		defer r.Close()
    	}
    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)
  2. src/archive/tar/reader_test.go

    				"GNU.sparse.realsize": "1000",
    				"GNU.sparse.name":     "sparse.db",
    			},
    			Format: FormatPAX,
    		}},
    	}, {
    		file: "testdata/trailing-slash.tar",
    		headers: []*Header{{
    			Typeflag: TypeDir,
    			Name:     strings.Repeat("123456789/", 30),
    			ModTime:  time.Unix(0, 0),
    			PAXRecords: map[string]string{
    				"path": strings.Repeat("123456789/", 30),
    			},
    			Format: FormatPAX,
    		}},
    	}}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
Back to top