Skip to main content Module branch Copy item path Source RepositoryLock Cross-process ownership guard for operations that may open or mutate one
repository’s embedded graph. The operating system releases it on crashes. cache_root Machine-local cache root. Downloadable model weights are cache data, not
durable application state. data_dir Root data directory for a repository. data_root Machine-local durable data root. db_path Path to the single KuzuDB file for a repo (all branches, namespaced by table prefix). has_repo_data Whether a repository data directory contains anything other than its
reusable ownership lock file. last_sha_path Path to the last-indexed SHA file for a specific branch. models_dir Shared model cache directory. On first use, migrate the legacy model cache
out of the durable data directory when a same-filesystem rename is possible. read_last_sha read_schema_version Read the persisted schema version, returning 0 if not present. repo_id Derive a stable 16-hex-character ID from the repo’s absolute path. repository_lock_owner sanitize Sanitize a branch name so it can be used as a KuzuDB table name prefix. schema_version_path Path to the persisted schema version marker for a repo. storage_repo_id Resolve the ID used on disk, retaining access to stores created before the
stable BLAKE3 ID was introduced. New repositories always use repo_id . wipe_repo_data Wipe per-repository graph data while preserving the advisory ownership
lock inode. Keeping the lock file in place prevents a new daemon from
slipping through while an explicit clean or schema rebuild is in progress. write_last_sha write_schema_version Write the schema version marker.