Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for Unix (0.32 sec)

  1. cmd/xl-storage-format-v2.go

    }
    
    // getModTime will return the ModTime of the underlying version.
    func (j xlMetaV2Version) getModTime() time.Time {
    	switch j.Type {
    	case ObjectType:
    		return time.Unix(0, j.ObjectV2.ModTime)
    	case DeleteType:
    		return time.Unix(0, j.DeleteMarker.ModTime)
    	case LegacyType:
    		return j.ObjectV1.Stat.ModTime
    	}
    	return time.Time{}
    }
    
    // getVersionID will return the versionID of the underlying version.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  2. internal/store/queuestore.go

    // QueueStore - Filestore for persisting items.
    type QueueStore[_ any] struct {
    	sync.RWMutex
    	entryLimit uint64
    	directory  string
    	fileExt    string
    
    	entries map[string]int64 // key -> modtime as unix nano
    }
    
    // NewQueueStore - Creates an instance for QueueStore.
    func NewQueueStore[I any](directory string, limit uint64, ext string) *QueueStore[I] {
    	if limit == 0 {
    		limit = defaultLimit
    	}
    
    	if ext == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  3. cmd/sftp-server-driver.go

    			}
    			expiryDur, err := globalIAMSys.LDAPConfig.GetExpiryDuration("")
    			if err != nil {
    				return nil, err
    			}
    			claims := make(map[string]interface{})
    			claims[expClaim] = UTCNow().Add(expiryDur).Unix()
    			for k, v := range f.permissions.CriticalOptions {
    				claims[k] = v
    			}
    
    			cred, err := auth.GetNewCredentialsWithMetadata(claims, globalActiveCred.SecretKey)
    			if err != nil {
    				return nil, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  4. cmd/ftp-server-driver.go

    			}
    			expiryDur, err := globalIAMSys.LDAPConfig.GetExpiryDuration("")
    			if err != nil {
    				return nil, err
    			}
    			claims := make(map[string]interface{})
    			claims[expClaim] = UTCNow().Add(expiryDur).Unix()
    			claims[ldapUser] = targetUser
    			claims[ldapUserN] = ctx.Sess.LoginUser()
    
    			cred, err := auth.GetNewCredentialsWithMetadata(claims, globalActiveCred.SecretKey)
    			if err != nil {
    				return nil, err
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  5. cmd/erasure-multipart.go

    		// If present, use time stored in ID.
    		startTime := time.Now()
    		if split := strings.Split(uploadID, "x"); len(split) == 2 {
    			t, err := strconv.ParseInt(split[1], 10, 64)
    			if err == nil {
    				startTime = time.Unix(0, t)
    			}
    		}
    		uploads = append(uploads, MultipartInfo{
    			Bucket:    bucket,
    			Object:    object,
    			UploadID:  base64.RawURLEncoding.EncodeToString([]byte(fmt.Sprintf("%s.%s", globalDeploymentID(), uploadID))),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  6. cmd/utils.go

    		Endpoint: provider.Endpoint(),
    
    		// "openid" is a required scope for OpenID Connect flows.
    		Scopes: []string{oidc.ScopeOpenID, "groups"},
    	}
    
    	state := fmt.Sprintf("x%dx", time.Now().Unix())
    	authCodeURL := oauth2Config.AuthCodeURL(state)
    	// fmt.Printf("authcodeurl: %s\n", authCodeURL)
    
    	var lastReq *http.Request
    	checkRedirect := func(req *http.Request, via []*http.Request) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  7. cmd/testdata/xl-meta-merge.zip

    ![Dashboard](https://github.com/minio/minio/blob/master/docs/screenshots/pic1.png?raw=true) | ![Dashboard](https://github.com/minio/minio/blob/master/docs/screenshots/pic2.png?raw=true) | ## Test using MinIO Client `mc` `mc` provides a modern alternative to UNIX commands like ls, cat, cp, mirror, diff etc. It supports filesystems and Amazon S3 compatible cloud storage services. Follow the MinIO Client [Quickstart Guide](https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart) for further instructions....
    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)
Back to top