Companion

Properties

Link copied to clipboard
const val CACHE_SCHEMA_VERSION: Int = 2

Version of the cache directory schema. Bumped whenever the on-disk layout (file names, meta-file shape, or ModelDescriptor JSON structure) changes in a way that would mis-deserialize older entries.

Functions

Link copied to clipboard

Returns the conventional cache root, ~/.ksl/bundle-cache.

Link copied to clipboard

Streams the file's bytes through SHA-256 and returns the digest as a lower-case hex string. Used as the per-JAR cache directory name.