Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for saveConfigWithOpts (0.09 sec)

  1. cmd/config-common.go

    	})
    	if err != nil && isErrObjectNotFound(err) {
    		return errConfigNotFound
    	}
    	return err
    }
    
    func saveConfigWithOpts(ctx context.Context, store objectIO, configFile string, data []byte, opts ObjectOptions) error {
    	hashReader, err := hash.NewReader(ctx, bytes.NewReader(data), int64(len(data)), "", getSHA256Hash(data), int64(len(data)))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    	binary.LittleEndian.PutUint16(data[0:2], rebalMetaFmt)
    	binary.LittleEndian.PutUint16(data[2:4], rebalMetaVer)
    
    	buf, err := r.MarshalMsg(data)
    	if err != nil {
    		return err
    	}
    
    	return saveConfigWithOpts(ctx, store, rebalMetaName, buf, opts)
    }
    
    func (r *rebalanceMeta) save(ctx context.Context, store objectIO) error {
    	return r.saveWithOpts(ctx, store, ObjectOptions{})
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
Back to top