Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SkipParent (0.07 sec)

  1. cmd/xl-storage.go

    	return w, nil
    }
    
    func (s *xlStorage) openFileSync(filePath string, mode int, skipParent string) (f *os.File, err error) {
    	return s.openFile(filePath, mode|writeMode, skipParent)
    }
    
    func (s *xlStorage) openFile(filePath string, mode int, skipParent string) (f *os.File, err error) {
    	if skipParent == "" {
    		skipParent = s.drivePath
    	}
    	// Create top level directories if they don't exist.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  2. cmd/naughty-disk_test.go

    }
    
    func (d *naughtyDisk) RenamePart(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string, meta []byte, skipParent string) error {
    	if err := d.calcError(); err != nil {
    		return err
    	}
    	return d.disk.RenamePart(ctx, srcVolume, srcPath, dstVolume, dstPath, meta, skipParent)
    }
    
    func (d *naughtyDisk) ReadParts(ctx context.Context, bucket string, partMetaPaths ...string) ([]*ObjectPartInfo, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. cmd/storage-rest-client.go

    		SrcVolume:   srcVolume,
    		SrcFilePath: srcPath,
    		DstVolume:   dstVolume,
    		DstFilePath: dstPath,
    		Meta:        meta,
    		SkipParent:  skipParent,
    	})
    	return toStorageErr(err)
    }
    
    // ReadParts - reads various part.N.meta paths from a drive remotely and returns object part info for each of those part.N.meta if found
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  4. cmd/storage-interface.go

    	RenameFile(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string) error
    	RenamePart(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string, meta []byte, skipParent string) error
    	CheckParts(ctx context.Context, volume string, path string, fi FileInfo) (*CheckPartsResp, error)
    	Delete(ctx context.Context, volume string, path string, opts DeleteOptions) (err error)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    			}
    		case "m":
    			z.Meta, err = dc.ReadBytes(z.Meta)
    			if err != nil {
    				err = msgp.WrapError(err, "Meta")
    				return
    			}
    		case "kp":
    			z.SkipParent, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "SkipParent")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 152K bytes
    - Viewed (0)
  6. 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, skipParent string) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricRenamePart, srcVolume, srcPath, dstVolume, dstPath)
    	if err != nil {
    		return err
    	}
    	defer done(0, &err)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    // renamePart - renames multipart part to its relevant location under uploadID.
    func (er erasureObjects) renamePart(ctx context.Context, disks []StorageAPI, srcBucket, srcEntry, dstBucket, dstEntry string, optsMeta []byte, writeQuorum int, skipParent string) ([]StorageAPI, error) {
    	paths := []string{
    		dstEntry,
    		dstEntry + ".meta",
    	}
    
    	// cleanup existing paths first across all drives.
    	er.cleanupMultipartPath(ctx, paths...)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  8. cmd/storage-datatypes.go

    	DiskID      string `msg:"id"`
    	SrcVolume   string `msg:"sv"`
    	SrcFilePath string `msg:"sp"`
    	DstVolume   string `msg:"dv"`
    	DstFilePath string `msg:"dp"`
    	Meta        []byte `msg:"m"`
    	SkipParent  string `msg:"kp"`
    }
    
    // ReadAllHandlerParams are parameters for ReadAllHandler.
    type ReadAllHandlerParams struct {
    	DiskID   string `msg:"id"`
    	Volume   string `msg:"v"`
    	FilePath string `msg:"fp"`
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    	if !s.checkID(p.DiskID) {
    		return grid.NewNPErr(errDiskNotFound)
    	}
    	return grid.NewNPErr(s.getStorage().RenamePart(context.Background(), p.SrcVolume, p.SrcFilePath, p.DstVolume, p.DstFilePath, p.Meta, p.SkipParent))
    }
    
    // CleanAbandonedDataHandler - Clean unused data directories.
    func (s *storageRESTServer) CleanAbandonedDataHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		return
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
Back to top