Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for generateCopyObjectResponse (0.1 sec)

  1. cmd/api-response.go

    	return data
    }
    
    type metaCheckFn = func(name string, action policy.Action) (s3Err APIErrorCode)
    
    // generates CopyObjectResponse from etag and lastModified time.
    func generateCopyObjectResponse(etag string, lastModified time.Time) CopyObjectResponse {
    	return CopyObjectResponse{
    		ETag:         "\"" + etag + "\"",
    		LastModified: amztime.ISO8601Format(lastModified.UTC()),
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top