Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewDecoder (0.06 sec)

  1. cmd/bucket-lifecycle.go

    // parseRestoreRequest parses RestoreObjectRequest from xml
    func parseRestoreRequest(reader io.Reader) (*RestoreObjectRequest, error) {
    	req := RestoreObjectRequest{}
    	if err := xml.NewDecoder(io.LimitReader(reader, maxRestoreObjectRequestSize)).Decode(&req); err != nil {
    		return nil, err
    	}
    	return &req, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top