Documentation
¶
Overview ¶
Package load reads the .context/ directory and assembles its files into an entity.Context with metadata, token estimates, and summaries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Do ¶
Do reads all context files from the specified directory.
If dir is empty, it uses the configured context directory from .ctxrc, CTX_DIR environment variable, or the default ".context".
Parameters:
- dir: Directory path to load from, or empty string for default
Returns:
- *Context: Loaded context with files, token counts, and metadata
- error: NotFoundError if directory doesn't exist, or other IO errors
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.