Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for zip (0.32 sec)

  1. cmd/s3-zip-handlers.go

    	// Peek into a zip archive
    	xMinIOExtract = "x-minio-extract"
    )
    
    // splitZipExtensionPath splits the S3 path to the zip file and the path inside the zip:
    //
    //	e.g  /path/to/archive.zip/backup-2021/myimage.png => /path/to/archive.zip, backup/myimage.png
    func splitZipExtensionPath(input string) (zipPath, object string, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. cmd/testdata/xl-meta-merge.zip

    Klaus Post <******@****.***> 1709920248 +0100
    ZIP Archive
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    				if err != nil {
    					return err
    				}
    				if st, err := f.Stat(); err == nil {
    					sz = st.Size()
    				}
    				defer f.Close()
    				r = f
    			}
    			if strings.HasSuffix(file, ".zip") {
    				zr, err := zip.NewReader(r.(io.ReaderAt), sz)
    				if err != nil {
    					return err
    				}
    				for _, file := range zr.File {
    					if !file.FileInfo().IsDir() && strings.HasSuffix(file.Name, "xl.meta") {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  4. cmd/globals.go

    	standardExcludeCompressExtensions = []string{".gz", ".bz2", ".rar", ".zip", ".7z", ".xz", ".mp4", ".mkv", ".mov", ".jpg", ".png", ".gif"}
    
    	// Some standard content-types which we strictly dis-allow for compression.
    	standardExcludeCompressContentTypes = []string{"video/*", "audio/*", "application/zip", "application/x-gzip", "application/x-zip-compressed", " application/x-compress", "application/x-spoon"}
    
    	// AuthZ Plugin system.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    	sleep 5
    
    	set -x
    	mc alias set new-minio http://localhost:9000 minioadmin minioadmin
    	echo "BEFORE IMPORT mappings:"
    	mc idp ldap policy entities new-minio
    	mc admin cluster iam import new-minio ./old-minio-iam-info.zip
    	echo "AFTER IMPORT mappings:"
    	mc idp ldap policy entities new-minio
    	set +x
    
    	# mc admin service stop new-minio
    }
    
    verify_iam_content_in_new_minio() {
    	output=$(mc idp ldap policy entities new-minio --json)
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. docs/debugging/inspect/main.go

    	// Calculate the output file name
    	switch {
    	case strings.HasSuffix(inputFileName, ".enc"):
    		outputFileName = strings.TrimSuffix(inputFileName, ".enc") + ".zip"
    	case strings.HasSuffix(inputFileName, ".zip"):
    		outputFileName = strings.TrimSuffix(inputFileName, ".zip") + ".decrypted.zip"
    	}
    
    	// Backup any already existing output file
    	_, err := os.Stat(outputFileName)
    	if err == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. cmd/admin-bucket-handlers.go

    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    
    	// Initialize a zip writer which will provide a zipped content
    	// of bucket metadata
    	zipWriter := zip.NewWriter(w)
    	defer zipWriter.Close()
    
    	rawDataFn := func(r io.Reader, filename string, sz int) {
    		header, zerr := zip.FileInfoHeader(dummyFileInfo{
    			name:    filename,
    			size:    int64(sz),
    			mode:    0o600,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    	for k, v := range exportContentStrings {
    		exportContent[k] = []byte(v)
    	}
    
    	var importContent []byte
    	{
    		var b bytes.Buffer
    		zipWriter := zip.NewWriter(&b)
    		rawDataFn := func(r io.Reader, filename string, sz int) error {
    			header, zerr := zip.FileInfoHeader(dummyFileInfo{
    				name:    filename,
    				size:    int64(sz),
    				mode:    0o600,
    				modTime: time.Now(),
    				isDir:   false,
    				sys:     nil,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    						if err != nil {
    							continue
    						}
    					} else {
    						r = io.NopCloser(bytes.NewBuffer([]byte{}))
    					}
    					// Keep disk path instead of ID, to ensure that the downloaded zip file can be
    					// easily automated with `minio server hostname{1...n}/disk{1...m}`.
    					err = fn(r, disk.Hostname(), disk.Endpoint().Path, pathJoin(volume, si.Name), si)
    					r.Close()
    					if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  10. cmd/api-router.go

    		// PutObjectLegalHold
    		router.Methods(http.MethodPut).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.PutObjectLegalHoldHandler)).
    			Queries("legal-hold", "")
    
    		// PutObject with auto-extract support for zip
    		router.Methods(http.MethodPut).Path("/{object:.+}").
    			HeadersRegexp(xhttp.AmzSnowballExtract, "true").
    			HandlerFunc(s3APIMiddleware(api.PutObjectExtractHandler, traceHdrsS3HFlag))
    
    		// PutObject
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top