MCPcopy
hub / github.com/cubefs/cubefs / GetCacheRequest

Struct GetCacheRequest

client/blockcache/bcache/packet.go:135–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135type GetCacheRequest struct {
136 CacheKey string `json:"key"`
137 Offset uint64 `json:"offset"`
138 Size uint32 `json:"size"`
139}
140
141func (req *GetCacheRequest) Marshal() (result []byte, err error) {
142 buff := bytespool.NewBuffer(4 + len(req.CacheKey) + 8 + 4)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected