Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for UpdateOpts (0.07 sec)

  1. cmd/storage-datatypes_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "UpdateOpts")
    				return
    			}
    			for zb0002 > 0 {
    				zb0002--
    				field, err = dc.ReadMapKeyPtr()
    				if err != nil {
    					err = msgp.WrapError(err, "UpdateOpts")
    					return
    				}
    				switch msgp.UnsafeString(field) {
    				case "np":
    					z.UpdateOpts.NoPersistence, err = dc.ReadBool()
    					if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  2. cmd/storage-rest-client.go

    	defer cancel()
    
    	_, err := storageUpdateMetadataRPC.Call(ctx, client.gridConn, &MetadataHandlerParams{
    		DiskID:     *client.diskID.Load(),
    		Volume:     volume,
    		FilePath:   path,
    		UpdateOpts: opts,
    		FI:         fi,
    	})
    	return toStorageErr(err)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. cmd/storage-datatypes.go

    type MetadataHandlerParams struct {
    	DiskID     string             `msg:"id"`
    	Volume     string             `msg:"v"`
    	OrigVolume string             `msg:"ov"`
    	FilePath   string             `msg:"fp"`
    	UpdateOpts UpdateMetadataOpts `msg:"uo"`
    	FI         FileInfo           `msg:"fi"`
    }
    
    // UpdateMetadataOpts provides an optional input to indicate if xl.meta updates need to be fully synced to disk.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    	if !s.checkID(p.DiskID) {
    		return grid.NewNPErr(errDiskNotFound)
    	}
    	volume := p.Volume
    	filePath := p.FilePath
    
    	return grid.NewNPErr(s.getStorage().UpdateMetadata(context.Background(), volume, filePath, p.FI, p.UpdateOpts))
    }
    
    // CheckPartsHandler - check if a file metadata exists.
    func (s *storageRESTServer) CheckPartsHandler(p *CheckPartsHandlerParams) (*CheckPartsResp, *grid.RemoteErr) {
    	if !s.checkID(p.DiskID) {
    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