Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for renamePart (0.06 sec)

  1. cmd/xl-storage-disk-id-check.go

    		return p.storage.ReadFileStream(ctx, volume, path, offset, length)
    	})
    }
    
    func (p *xlStorageDiskIDCheck) RenamePart(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string, meta []byte) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricRenamePart, srcVolume, srcPath, dstVolume, dstPath)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	} else {
    		s.deleteFile(srcVolumeDir, pathutil.Dir(srcFilePath), true, false)
    	}
    	return res, nil
    }
    
    // RenamePart - rename part path to destination path atomically, this is meant to be used
    // only with multipart API
    func (s *xlStorage) RenamePart(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string, meta []byte) (err error) {
    	srcVolumeDir, err := s.getVolDir(srcVolume)
    	if err != nil {
    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