Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for angular (0.18 sec)

  1. src/archive/tar/writer.go

    		}
    		info, err := d.Info()
    		if err != nil {
    			return err
    		}
    		// TODO(#49580): Handle symlinks when fs.ReadLinkFS is available.
    		if !info.Mode().IsRegular() {
    			return errors.New("tar: cannot add non-regular file")
    		}
    		h, err := FileInfoHeader(info, "")
    		if err != nil {
    			return err
    		}
    		h.Name = name
    		if err := tw.WriteHeader(h); err != nil {
    			return err
    		}
    		f, err := fsys.Open(name)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    		b.uint32(1)           // total number of disks
    
    		if _, err := w.cw.Write(buf[:]); err != nil {
    			return err
    		}
    
    		// store max values in the regular end record to signal
    		// that the zip64 values should be used instead
    		records = uint16max
    		size = uint32max
    		offset = uint32max
    	}
    
    	// write end record
    	var buf [directoryEndLen]byte
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top