object_store_offload_disk | R Documentation |
Disk-based offload
Disk-based offload
A disk-based offload for object_store
. This is not
intended at all for direct user-use.
new()
Create the store
object_store_offload_disk$new(path)
path
A directory name to store objects in. It will be created if it does not yet exist.
mset()
Save a number of values to disk
object_store_offload_disk$mset(hash, value)
hash
A character vector of object hashes
value
A list of serialised objects (each of which is a raw vector)
mget()
Retrieve a number of objects from the store
object_store_offload_disk$mget(hash)
hash
A character vector of hashes of the objects to return. The objects will be deserialised before return.
mdel()
Delete a number of objects from the store
object_store_offload_disk$mdel(hash)
hash
A character vector of hashes to remove
list()
List hashes stored in this offload store
object_store_offload_disk$list()
destroy()
Completely delete the store (by deleting the directory)
object_store_offload_disk$destroy()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.