Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rosulate (0.14 sec)

  1. src/archive/tar/common.go

    		h.Mode |= c_ISGID
    	}
    	if fm&fs.ModeSticky != 0 {
    		h.Mode |= c_ISVTX
    	}
    	// If possible, populate additional fields from OS-specific
    	// FileInfo fields.
    	if sys, ok := fi.Sys().(*Header); ok {
    		// This FileInfo came from a Header (not the OS). Use the
    		// original Header to populate all remaining fields.
    		h.Uid = sys.Uid
    		h.Gid = sys.Gid
    		h.Uname = sys.Uname
    		h.Gname = sys.Gname
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  2. src/archive/tar/writer_test.go

    			t.Errorf("splitUSTARPath(%q):\ngot  (%q, %q, %v)\nwant (%q, %q, %v)",
    				v.input, prefix, suffix, ok, v.prefix, v.suffix, v.ok)
    		}
    	}
    }
    
    // TestIssue12594 tests that the Writer does not attempt to populate the prefix
    // field when encoding a header in the GNU format. The prefix field is valid
    // in USTAR and PAX, but not GNU.
    func TestIssue12594(t *testing.T) {
    	names := []string{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
Back to top