Skip to main content

Module utils

Module utils 

Source
Expand description

Utility functions for path management.

Functionsยง

backup_dir
Returns the backup directory (env override or default).
data_dir
Returns the data directory following XDG spec.
generate_id
Generates a unique ID from 16 random bytes (32 hex chars).
wal_path
Returns the WAL path (env override or default).