Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RenameDataHandler (0.07 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

    		if errs[idx] != nil {
    			dErrsResp.Errs[idx] = errs[idx].Error()
    		}
    	}
    
    	buf, _ := dErrsResp.MarshalMsg(nil)
    	w.Write(buf)
    }
    
    // RenameDataHandler - renames a meta object and data dir to destination.
    func (s *storageRESTServer) RenameDataHandler(p *RenameDataHandlerParams) (*RenameDataResp, *grid.RemoteErr) {
    	if !s.checkID(p.DiskID) {
    		return nil, grid.NewRemoteErr(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)
Back to top