Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for RenameDataHandlerParams (0.12 sec)

  1. cmd/storage-datatypes.go

    	DiskID   string        `msg:"id"`
    	Volume   string        `msg:"v"`
    	FilePath string        `msg:"fp"`
    	Opts     DeleteOptions `msg:"do"`
    }
    
    // RenameDataHandlerParams are parameters for RenameDataHandler.
    type RenameDataHandlerParams struct {
    	DiskID    string        `msg:"id"`
    	SrcVolume string        `msg:"sv"`
    	SrcPath   string        `msg:"sp"`
    	DstVolume string        `msg:"dv"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. cmd/storage-rest-server.go

    	storageRenameDataRPC       = grid.NewSingleHandler[*RenameDataHandlerParams, *RenameDataResp](grid.HandlerRenameData2, func() *RenameDataHandlerParams { return &RenameDataHandlerParams{} }, func() *RenameDataResp { return &RenameDataResp{} })
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "p":
    			err = z.RenameDataHandlerParams.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "RenameDataHandlerParams")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_gen_test.go

    	}
    }
    
    func BenchmarkMarshalMsgRenameDataHandlerParams(b *testing.B) {
    	v := RenameDataHandlerParams{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgRenameDataHandlerParams(b *testing.B) {
    	v := RenameDataHandlerParams{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  5. cmd/storage-rest-client.go

    func (client *storageRESTClient) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo,
    	dstVolume, dstPath string, opts RenameOptions,
    ) (res RenameDataResp, err error) {
    	params := RenameDataHandlerParams{
    		DiskID:    *client.diskID.Load(),
    		SrcVolume: srcVolume,
    		SrcPath:   srcPath,
    		DstPath:   dstPath,
    		DstVolume: dstVolume,
    		FI:        fi,
    		Opts:      opts,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top