Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SrcVolume (0.07 sec)

  1. 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,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    	return w.Run(func() error { return p.storage.RenamePart(ctx, srcVolume, srcPath, dstVolume, dstPath, meta) })
    }
    
    func (p *xlStorageDiskIDCheck) RenameFile(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricRenameFile, srcVolume, srcPath, dstVolume, dstPath)
    	if err != nil {
    		return err
    	}
    	defer done(0, &err)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    		case "id":
    			z.DiskID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "DiskID")
    				return
    			}
    		case "sv":
    			z.SrcVolume, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "SrcVolume")
    				return
    			}
    		case "sp":
    			z.SrcPath, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "SrcPath")
    				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.go

    type RenameFileHandlerParams struct {
    	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"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    			storageLogOnceIf(ctx, fmt.Errorf("drive:%s, srcVolume: %s, srcPath: %s, dstVolume: %s:, dstPath: %s - error %v",
    				s.drivePath,
    				srcVolume, srcPath,
    				dstVolume, dstPath,
    				err), "xl-storage-rename-data-"+dstVolume)
    		}
    		if s.globalSync {
    			globalSync()
    		}
    	}()
    
    	srcVolumeDir, err := s.getVolDir(srcVolume)
    	if err != nil {
    		return res, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top