Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/archive/zip/reader.go

    // OpenReader returns the reader with an ErrInsecurePath error.
    // A future version of Go may introduce this behavior by default.
    // Programs that want to accept non-local names can ignore
    // the ErrInsecurePath error and use the returned reader.
    func OpenReader(name string) (*ReadCloser, error) {
    	f, err := os.Open(name)
    	if err != nil {
    		return nil, err
    	}
    	fi, err := f.Stat()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    // Next returns the header with an [ErrInsecurePath] error.
    // A future version of Go may introduce this behavior by default.
    // Programs that want to accept non-local names can ignore
    // the [ErrInsecurePath] error and use the returned header.
    func (tr *Reader) Next() (*Header, error) {
    	if tr.err != nil {
    		return nil, tr.err
    	}
    	hdr, err := tr.next()
    	tr.err = err
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top