Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PAXRecords (0.09 sec)

  1. src/archive/tar/common.go

    	//
    	// The following are semantically equivalent:
    	//  h.Xattrs[key] = value
    	//  h.PAXRecords["SCHILY.xattr."+key] = value
    	//
    	// When Writer.WriteHeader is called, the contents of Xattrs will take
    	// precedence over those in PAXRecords.
    	//
    	// Deprecated: Use PAXRecords instead.
    	Xattrs map[string]string
    
    	// PAXRecords is a map of PAX extended header records.
    	//
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    			ModTime:  time.Unix(0, 0),
    			PAXRecords: map[string]string{
    				"GOLANG.pkg": "tar",
    				"comment":    "Hello, 世界",
    				"uname":      strings.Repeat("long", 10),
    			},
    			Format: FormatPAX,
    		}},
    	}, {
    		file: "testdata/pax-global-records.tar",
    		headers: []*Header{{
    			Typeflag:   TypeXGlobalHeader,
    			Name:       "global1",
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag:   TypeXGlobalHeader,
    				PAXRecords: map[string]string{"path": "global1", "mtime": "1500000000.0"},
    			}, nil},
    			testHeader{Header{
    				Typeflag: TypeReg, Name: "file1",
    			}, nil},
    			testHeader{Header{
    				Typeflag:   TypeReg,
    				Name:       "file2",
    				PAXRecords: map[string]string{"path": "file2"},
    			}, nil},
    			testHeader{Header{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    		}
    
    		var (
    			versionID string
    			hdrs      http.Header
    		)
    
    		if tarHdrs, ok := info.Sys().(*tar.Header); ok && len(tarHdrs.PAXRecords) > 0 {
    			versionID = tarHdrs.PAXRecords["minio.versionId"]
    			hdrs = make(http.Header)
    			for k, v := range tarHdrs.PAXRecords {
    				if k == "minio.versionId" {
    					continue
    				}
    				if strings.HasPrefix(k, "minio.metadata.") {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top