Attributes
classes
console
current_commit
default_branch
directories
external_modules
functions
global_vars
imports
interfaces
language
name
repo_path
symbols
types
viz
Methods
ai
Generates a response from the AI based on the provided prompt, target, and context.checkout
Checks out a git branch or commit and syncs the codebase graph to the new state.commit
Commits all staged changes to the codebase graph and synchronizes the graph with the filesystem if specified.create_directory
Creates a directory at the specified path.create_file
Creates a new file in the codebase with specified content.files
A list property that returns all files in the codebase.find_by_span
Finds editable objects that overlap with the given source code span.from_repo
Fetches a codebase from GitHub and returns a Codebase instance.get_class
Returns a class that matches the given name.get_directory
Returns Directory bydir_path, or full path to the directory from codebase root.