Skip to main content
Version: 2025.11

FileRevisionHaving

Description: Mixin for objects that expose a FileRevision and delegate common behaviors to it.

Methods

NameDescription
read_bytesRead and return the raw byte contents of the associated file revision.
read_textRead the contents as decoded text.
copy_toCopy the contents to a local file.
read_jsonParse the contents as JSON.
cleanup_cacheClean up cached files if they exist.
get_cache_statsGet filesystem cache statistics.