Documentation
¶
Overview ¶
Package project provides access to project-root files and directory README templates from embedded assets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func File ¶
File reads a project-root file by name from the embedded filesystem.
These files are deployed to the project root (not .context/) by dedicated handlers during initialization.
Parameters:
- name: Filename (e.g., "IMPLEMENTATION_PLAN.md")
Returns:
- []byte: File content
- error: Non-nil if the file is not found or read fails
func Readme ¶
Readme reads a project directory README template by directory name.
Templates are stored as project/<dir>-README.md in the embedded filesystem.
Parameters:
- dir: Directory name (e.g., "specs", "ideas")
Returns:
- []byte: README.md content for the directory
- error: Non-nil if the file is not found or read fails
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.