Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for StatVol (0.12 sec)

  1. cmd/storage-rest-server.go

    func (s *storageRESTServer) StatVolHandler(params *grid.MSS) (*VolInfo, *grid.RemoteErr) {
    	if !s.checkID(params.Get(storageRESTDiskID)) {
    		return nil, grid.NewRemoteErr(errDiskNotFound)
    	}
    	info, err := s.getStorage().StatVol(context.Background(), params.Get(storageRESTVolume))
    	if err != nil {
    		return nil, grid.NewRemoteErr(err)
    	}
    	return &info, nil
    }
    
    // AppendFileHandler - append data from the request to the file specified.
    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