Documentation Index
Fetch the complete documentation index at: https://codegeninc-codegen-bot-sdk-docs-2-0.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Attributes
classes
dirpath
exports
file_names
functions
global_vars
import_statements
imports
item_names
name
parent
path
symbols
tree
Methods
files
Gets a list of all top level files in the directory.
get_class
Get a class by name in files container.
get_export
Get an export by name in files container (supports only typescript).
get_file
Get a file by its name relative to the directory.
get_function
Get a function by name in files container.
get_global_var
Get a global variable by name in files container.
get_import
Get an import by name in files container.
get_import_statement
Get an import statement by name in files container.
get_subdirectory
Get a subdirectory by its name (relative to the directory).
get_symbol
Get a symbol by name in files container.
items
Get a list of all files and subdirectories in the directory.
remove
Remove all the files in the files container.
rename
Rename the directory.
subdirectories
Get a list of all top level subdirectories in the directory.
update_filepath
Update the filepath of the directory and its contained files.