Skip to contents

Get signatures and cached data

Usage

get_cached(x, kind, cache_dir)

Arguments

x

An object to infer signature from

kind

A string indicating the kind of the object Used as part of the filename of the cached file

cache_dir

A string indicating the directory to store cached files

Value

A list containing the signature, digested signature and cached data

Details

This function is used to get the signature of an object and the cached data if it exists. The signature is used to identify the object and the cached data is used to avoid recomputing the object.