X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e7a2db3fe3446929a481f20e1358337ada500c72..fbcc5ab5e7a5ad65b81e3965f93b1679d1b1e06f:/services/keepstore/volume.go diff --git a/services/keepstore/volume.go b/services/keepstore/volume.go index 1b52949528..64fea34bfe 100644 --- a/services/keepstore/volume.go +++ b/services/keepstore/volume.go @@ -11,6 +11,9 @@ import ( ) type Volume interface { + // Get a block. IFF the returned error is nil, the caller must + // put the returned slice back into the buffer pool when it's + // finished with it. Get(loc string) ([]byte, error) Put(loc string, block []byte) error Touch(loc string) error