- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DstFilePath (0.14 sec)
-
cmd/storage-rest-client.go
_, err = storageRenamePartRPC.Call(ctx, client.gridConn, &RenamePartHandlerParams{ DiskID: *client.diskID.Load(), SrcVolume: srcVolume, SrcFilePath: srcPath, DstVolume: dstVolume, DstFilePath: dstPath, Meta: meta, }) return toStorageErr(err) } // ReadParts - reads various part.N.meta paths from a drive remotely and returns object part info for each of those part.N.meta if found
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Oct 13 13:07:21 UTC 2024 - 30.2K bytes - Viewed (0) -
cmd/storage-datatypes.go
SrcFilePath string `msg:"sp"` DstVolume string `msg:"dv"` DstFilePath string `msg:"dp"` } // RenamePartHandlerParams are parameters for RenamePartHandler. type RenamePartHandlerParams struct { DiskID string `msg:"id"` SrcVolume string `msg:"sv"` SrcFilePath string `msg:"sp"` DstVolume string `msg:"dv"` DstFilePath string `msg:"dp"` Meta []byte `msg:"m"` }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 17.3K bytes - Viewed (0) -
cmd/storage-rest-server.go
if !s.checkID(p.DiskID) { return grid.NewNPErr(errDiskNotFound) } return grid.NewNPErr(s.getStorage().RenameFile(context.Background(), p.SrcVolume, p.SrcFilePath, p.DstVolume, p.DstFilePath)) } // RenamePartHandler - rename a multipart part from source to destination func (s *storageRESTServer) RenamePartHandler(p *RenamePartHandlerParams) (grid.NoPayload, *grid.RemoteErr) { if !s.checkID(p.DiskID) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 45.7K bytes - Viewed (0)