Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkListObjsArgs (0.1 sec)

  1. cmd/metacache-server-pool.go

    // Other important fields are Limit, Marker.
    // List ID always derived from the Marker.
    func (z *erasureServerPools) listPath(ctx context.Context, o *listPathOptions) (entries metaCacheEntriesSorted, err error) {
    	if err := checkListObjsArgs(ctx, o.Bucket, o.Prefix, o.Marker); err != nil {
    		return entries, err
    	}
    
    	// Marker points to before the prefix, just ignore it.
    	if o.Marker < o.Prefix {
    		o.Marker = ""
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    // all the contents of the provided bucket+prefix.
    func (z *erasureServerPools) Walk(ctx context.Context, bucket, prefix string, results chan<- itemOrErr[ObjectInfo], opts WalkOptions) error {
    	if err := checkListObjsArgs(ctx, bucket, prefix, ""); err != nil {
    		xioutil.SafeClose(results)
    		return err
    	}
    	parentCtx := ctx
    	ctx, cancelCause := context.WithCancelCause(ctx)
    	var entries []chan metaCacheEntry
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top