Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DeleteVersionHandler (0.13 sec)

  1. cmd/storage-rest-server.go

    		return
    	}
    
    	done, body := keepHTTPReqResponseAlive(w, r)
    	done(s.getStorage().CreateFile(r.Context(), origvolume, volume, filePath, int64(fileSize), body))
    }
    
    // DeleteVersionHandler delete updated metadata.
    func (s *storageRESTServer) DeleteVersionHandler(p *DeleteVersionHandlerParams) (np grid.NoPayload, gerr *grid.RemoteErr) {
    	if !s.checkID(p.DiskID) {
    		return np, grid.NewRemoteErr(errDiskNotFound)
    	}
    	volume := p.Volume
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    	Data    []byte    `msg:"d"`            // Contains all data of file.
    	Modtime time.Time `msg:"m"`            // Modtime of file on disk.
    }
    
    // DeleteVersionHandlerParams are parameters for DeleteVersionHandler
    type DeleteVersionHandlerParams struct {
    	DiskID         string        `msg:"id"`
    	Volume         string        `msg:"v"`
    	FilePath       string        `msg:"fp"`
    	ForceDelMarker bool          `msg:"fdm"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top