Skip to main content

Module path

Module path 

Source

Enums§

Error

Functions§

discover_project_root
Discover project root based on priority:
expand_tilde
Expand tilde (~) in paths to the user’s home directory
normalize_path
Normalize a path for comparison (resolve to absolute, canonicalize if possible)
paths_equal
Check if two paths are equivalent after normalization
project_hash_from_log_path
Generate unique project hash from log file path Used only for sessions without discoverable project_root (orphaned sessions)
project_hash_from_root
Calculate project_hash from project_root using SHA256
repository_hash_from_path
Calculate repository hash from a directory path for git worktree support.
resolve_effective_project_hash
Resolve effective project hash based on explicit hash or all_projects flag
resolve_workspace_path
Resolve the workspace data directory path based on priority:

Type Aliases§

Result