Skip to main content

Module context

Module context 

Source

Functions§

find_project_root
Walk up from start to find the nearest ancestor that contains a .visdom/ directory. Returns that ancestor. Errors if none found.
run_clear
tracevault context clear — remove/reset the context for the chosen scope.
run_set
tracevault context set — build a fresh Context from flags, save it. Omitted dimensions are empty. Clears anything not explicitly provided.
run_show
tracevault context show — print four labelled sections:
run_show_in
run_show, but resolving the user-level fallback against an injectable config_root instead of the process-global crate::config::tv_config_root. Lets tests exercise the detached (no-checkout) path without touching the real ~/.config.
run_source
tracevault context source — enable/disable or point the project’s user-level context source (user_context in config.toml).
run_update
tracevault context update — load existing, apply mutations, save.