- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ReadAllHandler (0.19 sec)
-
cmd/storage-rest-server.go
} volume := p.Volume filePath := p.FilePath return grid.NewNPErr(s.getStorage().WriteAll(context.Background(), volume, filePath, p.Buf)) } // ReadAllHandler - read all the contents of a file. func (s *storageRESTServer) ReadAllHandler(p *ReadAllHandlerParams) (*grid.Bytes, *grid.RemoteErr) { if !s.checkID(p.DiskID) { return nil, 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) -
cmd/storage-datatypes.go
SrcVolume string `msg:"sv"` SrcFilePath string `msg:"sp"` DstVolume string `msg:"dv"` DstFilePath string `msg:"dp"` Meta []byte `msg:"m"` } // ReadAllHandlerParams are parameters for ReadAllHandler. type ReadAllHandlerParams struct { DiskID string `msg:"id"` Volume string `msg:"v"` FilePath string `msg:"fp"` } // WriteAllHandlerParams are parameters for WriteAllHandler.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 17.3K bytes - Viewed (0)