Module path

Module path 

Source

Constants§

DEVALANG_CONFIG
DEVA_DIR

Functions§

ensure_deva_dir
Ensures the .deva directory exists in the project root and returns its path.
ensure_home_deva_dir
Ensures the home directory’s .deva exists
find_project_root
Finds the project root from the current working directory.
find_project_root_from
Walks upward from start to locate the first directory considered a project root.
get_cwd
Returns the current working directory.
get_deva_dir
Returns the .deva directory inside the project root (without creating it).
get_home_deva_dir
Gets the home directory’s .deva (for user-level addons)
get_project_root
Gets the project root or returns an error if not found.
is_project_root
Returns true if the given directory looks like a devalang project root. Checks for the presence of .devalang config file or .deva directory.