Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for FormatUSTAR (0.28 sec)

  1. src/archive/tar/format.go

    	// FormatUnknown indicates that the format is unknown.
    	FormatUnknown
    
    	// The format of the original Unix V7 tar tool prior to standardization.
    	formatV7
    
    	// FormatUSTAR represents the USTAR header format defined in POSIX.1-1988.
    	//
    	// While this format is compatible with most tar readers,
    	// the format has several limitations making it unsuitable for some usages.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. src/archive/tar/common.go

    				format.mustNotBe(FormatGNU)
    			}
    			whyNoUSTAR = "USTAR does not support sparse files"
    			format.mustNotBe(FormatUSTAR)
    		}
    	*/
    
    	// Check desired format.
    	if wantFormat := h.Format; wantFormat != FormatUnknown {
    		if wantFormat.has(FormatPAX) && !preferPAX {
    			wantFormat.mayBe(FormatUSTAR) // PAX implies USTAR allowed too
    		}
    		format.mayOnlyBe(wantFormat) // Set union of formats allowed and format wanted
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    			if err := tr.handleSparseFile(hdr, rawHdr); err != nil {
    				return nil, err
    			}
    
    			// Set the final guess at the format.
    			if format.has(FormatUSTAR) && format.has(FormatPAX) {
    				format.mayOnlyBe(FormatUSTAR)
    			}
    			hdr.Format = format
    			return hdr, nil // This is a file, so stop
    		}
    	}
    }
    
    // handleRegularFile sets up the current file reader and padding such that it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. src/archive/tar/writer.go

    		tw.hdr.AccessTime = time.Time{}
    		tw.hdr.ChangeTime = time.Time{}
    	}
    
    	allowedFormats, paxHdrs, err := tw.hdr.allowedFormats()
    	switch {
    	case allowedFormats.has(FormatUSTAR):
    		tw.err = tw.writeUSTARHeader(&tw.hdr)
    		return tw.err
    	case allowedFormats.has(FormatPAX):
    		tw.err = tw.writePAXHeader(&tw.hdr, paxHdrs)
    		return tw.err
    	case allowedFormats.has(FormatGNU):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. src/archive/tar/reader_test.go

    			PAXRecords: map[string]string{"path": "global1", "mtime": "1500000000.0"},
    			Format:     FormatPAX,
    		}, {
    			Typeflag: TypeReg,
    			Name:     "file1",
    			ModTime:  time.Unix(0, 0),
    			Format:   FormatUSTAR,
    		}, {
    			Typeflag:   TypeReg,
    			Name:       "file2",
    			PAXRecords: map[string]string{"path": "file2"},
    			ModTime:    time.Unix(0, 0),
    			Format:     FormatPAX,
    		}, {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  6. api/go1.10.txt

    pkg archive/tar, const FormatGNU = 8
    pkg archive/tar, const FormatGNU Format
    pkg archive/tar, const FormatPAX = 4
    pkg archive/tar, const FormatPAX Format
    pkg archive/tar, const FormatUSTAR = 2
    pkg archive/tar, const FormatUSTAR Format
    pkg archive/tar, const FormatUnknown = 0
    pkg archive/tar, const FormatUnknown Format
    pkg archive/tar, method (Format) String() string
    pkg archive/tar, type Format int
    pkg archive/tar, type Header struct, Format Format
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ErrInsecurePath", Var, 20},
    		{"ErrWriteAfterClose", Var, 0},
    		{"ErrWriteTooLong", Var, 0},
    		{"FileInfoHeader", Func, 1},
    		{"Format", Type, 10},
    		{"FormatGNU", Const, 10},
    		{"FormatPAX", Const, 10},
    		{"FormatUSTAR", Const, 10},
    		{"FormatUnknown", Const, 10},
    		{"Header", Type, 0},
    		{"Header.AccessTime", Field, 0},
    		{"Header.ChangeTime", Field, 0},
    		{"Header.Devmajor", Field, 0},
    		{"Header.Devminor", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top