Skip to main content

Module project

Module project 

Source
Expand description

Project detection for BIRD.

Finds project-level .bird/ directories by walking up from the current directory.

Structs§

ProjectInfo
Result of project detection.

Constants§

BIRD_DB_NAME
The name of the project database file.
BIRD_DIR_NAME
The name of the BIRD project directory.

Functions§

find_current_project
Find project from current working directory.
find_project
Find the project root by walking up from the given directory.
is_in_project
Check if a directory is inside a BIRD project.
project_relative_path
Get the relative path from project root to the given path.