- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RenameFileHandler (0.12 sec)
-
cmd/storage-rest-server.go
defer p.Recycle() return s.RenameDataHandler(&p.RenameDataHandlerParams) } // RenameFileHandler - rename a file from source to destination func (s *storageRESTServer) RenameFileHandler(p *RenameFileHandlerParams) (grid.NoPayload, *grid.RemoteErr) { if !s.checkID(p.DiskID) { return grid.NewNPErr(errDiskNotFound) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 45.7K bytes - Viewed (0) -
cmd/storage-datatypes.go
if r == nil { return } if cap(r.FI.Data) >= xioutil.SmallBlock { grid.PutByteBuffer(r.FI.Data) r.FI.Data = nil } } // RenameFileHandlerParams are parameters for RenameFileHandler. type RenameFileHandlerParams struct { DiskID string `msg:"id"` SrcVolume string `msg:"sv"` SrcFilePath string `msg:"sp"` DstVolume string `msg:"dv"` DstFilePath string `msg:"dp"` }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 17.3K bytes - Viewed (0)