Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for abspath (0.24 sec)

  1. cmd/iam-store.go

    }
    
    func getUserIdentityPath(user string, userType IAMUserType) string {
    	var basePath string
    	switch userType {
    	case svcUser:
    		basePath = iamConfigServiceAccountsPrefix
    	case stsUser:
    		basePath = iamConfigSTSPrefix
    	default:
    		basePath = iamConfigUsersPrefix
    	}
    	return pathJoin(basePath, user, iamIdentityFile)
    }
    
    func saveIAMFormat(ctx context.Context, store IAMStorageAPI) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  2. cmd/xl-storage.go

    // with files in it. Returns nil for a non-empty directory even when
    // recursive is set to false.
    func (s *xlStorage) deleteFile(basePath, deletePath string, recursive, immediate bool) error {
    	if basePath == "" || deletePath == "" {
    		return nil
    	}
    
    	bp := pathutil.Clean(basePath) // do not override basepath / or deletePath /
    	dp := pathutil.Clean(deletePath)
    	if !strings.HasPrefix(dp, bp) || dp == bp {
    		return nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top