Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RenamePartHandler (0.11 sec)

  1. cmd/storage-rest-server.go

    	}
    	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) {
    		return grid.NewNPErr(errDiskNotFound)
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    	DiskID      string `msg:"id"`
    	SrcVolume   string `msg:"sv"`
    	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"`
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top