Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HasSuffix (0.05 sec)

  1. cmd/object-handlers.go

    	objInfo, err := putObject(ctx, bucket, object, pReader, opts)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	if r.Header.Get(xMinIOExtract) == "true" && HasSuffix(object, archiveExt) {
    		opts := ObjectOptions{VersionID: objInfo.VersionID, MTime: objInfo.ModTime}
    		if _, err := updateObjectMetadataWithZipInfo(ctx, objectAPI, bucket, object, opts); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top