Skip to contents

User functions

cacheFile()
Create a caching decorator
cacheInfo()
Retrieve Cached Value and Metadata
cacheList()
List and Summarize Cache Directory Contents
cachePrune()
Prune old cache files
cacheR_default_dir()
Default Cache Directory
cacheR_reset_graph()
Reset the Graph Tracker
cacheTree_for_file()
Find nodes associated with a specific file path
cacheTree_load()
Load an execution graph from disk
cacheTree_nodes()
Get all nodes
cacheTree_reset()
Alias for reset (for test compatibility)
cacheTree_save()
Save the execution graph to disk
cacheTree_sync()
Load graph from disk into memory
cache_file_state_clear()
Clear the in-memory file state cache
cache_file_state_info()
Get info about the in-memory file state cache
cache_stats()
Aggregate Cache Statistics
cache_tree_changed_files()
Find Nodes With Changed Tracked Files
cache_tree_files()
List All Tracked Files
cache_tree_summary()
Summarise the Cache Tree
cache_tree_to_dot()
Export Cache Tree as Graphviz DOT
cache_tree_to_json()
Export Cache Tree as JSON
plot_cache_graph()
Visualise the Cache Tree as a Directed Graph
track_file()
Explicitly Track a File Dependency
export_targets_file()
Export to targets

Decorator

decorator()
Turn a function into a decorator.
`%@%`
Decorator application operator
prettify()
Attach pretty metadata to a decorated function.
pretty_code()
Get a "pretty" code representation for a function.

Internals

cacheFile()
Create a caching decorator
cacheInfo()
Retrieve Cached Value and Metadata
cacheList()
List and Summarize Cache Directory Contents
cachePrune()
Prune old cache files
cacheR_default_dir()
Default Cache Directory
cacheR_reset_graph()
Reset the Graph Tracker
cacheTree_for_file()
Find nodes associated with a specific file path
cacheTree_load()
Load an execution graph from disk
cacheTree_nodes()
Get all nodes
cacheTree_reset()
Alias for reset (for test compatibility)
cacheTree_save()
Save the execution graph to disk
cacheTree_sync()
Load graph from disk into memory
cache_file_state_clear()
Clear the in-memory file state cache
cache_file_state_info()
Get info about the in-memory file state cache
cache_stats()
Aggregate Cache Statistics
cache_tree_changed_files()
Find Nodes With Changed Tracked Files
cache_tree_files()
List All Tracked Files
cache_tree_summary()
Summarise the Cache Tree
cache_tree_to_dot()
Export Cache Tree as Graphviz DOT
cache_tree_to_json()
Export Cache Tree as JSON
decorator()
Turn a function into a decorator.
export_targets_file()
Export to targets
`%@%`
Decorator application operator
plot_cache_graph()
Visualise the Cache Tree as a Directed Graph
prettify()
Attach pretty metadata to a decorated function.
pretty_code()
Get a "pretty" code representation for a function.
print(<decorated>)
Pretty-print decorated functions.
track_file()
Explicitly Track a File Dependency