Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 79 for SlashSeparator (0.11 sec)

  1. cmd/utils.go

    func path2BucketObjectWithBasePath(basePath, path string) (bucket, prefix string) {
    	path = strings.TrimPrefix(path, basePath)
    	path = strings.TrimPrefix(path, SlashSeparator)
    	m := strings.Index(path, SlashSeparator)
    	if m < 0 {
    		return path, ""
    	}
    	return path[:m], path[m+len(SlashSeparator):]
    }
    
    func path2BucketObject(s string) (bucket, prefix string) {
    	return path2BucketObjectWithBasePath("", s)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. cmd/generic-handlers.go

    		h.ServeHTTP(w, r)
    	})
    }
    
    // Reserved bucket.
    const (
    	minioReservedBucket     = "minio"
    	minioReservedBucketPath = SlashSeparator + minioReservedBucket
    
    	loginPathPrefix = SlashSeparator + "login"
    )
    
    func guessIsBrowserReq(r *http.Request) bool {
    	aType := getRequestAuthType(r)
    	return strings.Contains(r.Header.Get("User-Agent"), "Mozilla") &&
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. cmd/mrf.go

    	"github.com/tinylib/msgp/msgp"
    )
    
    const (
    	mrfOpsQueueSize = 100000
    )
    
    const (
    	healDir              = ".heal"
    	healMRFDir           = bucketMetaPrefix + SlashSeparator + healDir + SlashSeparator + "mrf"
    	healMRFMetaFormat    = 1
    	healMRFMetaVersionV1 = 1
    )
    
    // PartialOperation is a successful upload/delete of an object
    // but not written in all disks (having quorum)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. cmd/metrics-v3-types.go

    // converted to snake-case (by replaced '/' and '-' with '_') and prefixed with
    // `minio_`.
    func (cp collectorPath) metricPrefix() string {
    	s := strings.TrimPrefix(string(cp), SlashSeparator)
    	s = strings.ReplaceAll(s, SlashSeparator, "_")
    	s = strings.ReplaceAll(s, "-", "_")
    	return "minio_" + s
    }
    
    // isDescendantOf returns true if it is a descendant of (or the same as)
    // `ancestor`.
    //
    // For example:
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. cmd/sftp-server-driver.go

    				continue
    			}
    
    			isDir := strings.HasSuffix(object.Key, SlashSeparator)
    			files = append(files, &minioFileInfo{
    				p:     pathClean(strings.TrimPrefix(object.Key, prefix)),
    				info:  object,
    				isDir: isDir,
    			})
    		}
    
    		return listerAt(files), nil
    
    	case "Stat":
    		if r.Filepath == SlashSeparator {
    			return listerAt{&minioFileInfo{
    				p:     r.Filepath,
    				isDir: true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    	dataUsageInfo, err := scanDataFolder(ctx, disks, s, cache, func(item scannerItem) (sizeSummary, error) {
    		// Look for `xl.meta/xl.json' at the leaf.
    		if !strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFile) &&
    			!strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFileV1) {
    			// if no xl.meta/xl.json found, skip the file.
    			return sizeSummary{}, errSkipFile
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. cmd/metacache-bucket.go

    		objAPI := newObjectLayerFn()
    		if objAPI != nil {
    			ez, ok := objAPI.(deleteAllStorager)
    			if ok {
    				ctx := context.Background()
    				ez.deleteAll(ctx, minioMetaBucket, metacachePrefixForID(bucket, slashSeparator))
    			}
    		}
    	}
    	return &bucketMetacache{
    		bucket:     bucket,
    		caches:     make(map[string]metacache, 10),
    		cachesRoot: make(map[string][]string, 10),
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. cmd/peer-rest-common.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "time"
    
    const (
    	peerRESTVersion       = "v39" // add more flags to speedtest API
    	peerRESTVersionPrefix = SlashSeparator + peerRESTVersion
    	peerRESTPrefix        = minioReservedBucketPath + "/peer"
    	peerRESTPath          = peerRESTPrefix + peerRESTVersionPrefix
    )
    
    const (
    	peerRESTMethodHealth                = "/health"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. cmd/build-constants.go

    	// MinioReleaseBaseURL - release url without os and arch.
    	MinioReleaseBaseURL = "https://dl.min.io/server/minio/release/"
    
    	// MinioReleaseURL - release URL.
    	MinioReleaseURL = MinioReleaseBaseURL + minioOSARCH + SlashSeparator
    
    	// MinioStoreName - MinIO store name.
    	MinioStoreName = "MinIO"
    
    	// MinioUAName - MinIO user agent name.
    	MinioUAName = "MinIO"
    
    	// MinioBannerName - MinIO banner name for startup message.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. cmd/kms-router.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    )
    
    const (
    	kmsPathPrefix       = minioReservedBucketPath + "/kms"
    	kmsAPIVersion       = "v1"
    	kmsAPIVersionPrefix = SlashSeparator + kmsAPIVersion
    )
    
    type kmsAPIHandlers struct{}
    
    // registerKMSRouter - Registers KMS APIs
    func registerKMSRouter(router *mux.Router) {
    	kmsAPI := kmsAPIHandlers{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top