Documentation
¶
Overview ¶
Package workdir resolves the td database root directory, supporting git worktree redirection via .td-root files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveBaseDir ¶
ResolveBaseDir resolves td's project root with conservative heuristics:
- Honor .td-root in the current directory.
- Use current directory if it already has a .todos directory.
- If inside git, check git root for .td-root or .todos.
If no td markers are found, it returns the original baseDir unchanged.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.