Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FSoft-AI4Code/CodeWiki
/ functions
Functions
699 in github.com/FSoft-AI4Code/CodeWiki
⨍
Functions
699
◇
Types & classes
68
↳
Endpoints
10
↓ 3 callers
Method
_find_containing_class
(self, node, top_level_nodes)
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:555
↓ 3 callers
Method
_find_containing_class_for_method
Find the class that contains this method definition.
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:326
↓ 3 callers
Method
_find_containing_class_name
Walk up to find the containing class/object/interface name.
codewiki/src/be/dependency_analyzer/analyzers/kotlin.py:351
↓ 3 callers
Method
_find_containing_function_or_method
Find the function or method that contains this node.
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:577
↓ 3 callers
Method
_first_type_child
(self, node)
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:450
↓ 3 callers
Method
_format_elapsed
Format elapsed time.
codewiki/cli/utils/progress.py:133
↓ 3 callers
Function
_get_git_repo
Find a git repository starting at repo_path and searching parent directories. Args: repo_path: Path to start searching from
codewiki/cli/utils/repo_validator.py:119
↓ 3 callers
Method
_get_identifier_name
Get identifier name from a node.
codewiki/src/be/dependency_analyzer/analyzers/kotlin.py:323
↓ 3 callers
Method
_get_relative_path
(self)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:654
↓ 3 callers
Method
_resolve_method_on_class
(self, class_dotted: Optional[str], method: str)
codewiki/src/be/dependency_analyzer/analyzers/python.py:462
↓ 3 callers
Method
_resolve_name_reference
Resolve a bare name reference (call target or base class).
codewiki/src/be/dependency_analyzer/analyzers/python.py:440
↓ 3 callers
Method
_resolve_to_top_level
(self, entity_name: str, all_entities: dict)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:1067
↓ 3 callers
Method
_simple_type_name
(self, type_name: str)
codewiki/src/be/dependency_analyzer/analyzers/java.py:398
↓ 3 callers
Function
_validate_mermaid
Run Mermaid validation and return the result string.
codewiki/mcp/tools/doc_writer.py:48
↓ 3 callers
Method
build_dependency_graph
Build and save dependency graph, returning components and leaf nodes. Returns: Tuple of (components, leaf_nodes)
codewiki/src/be/dependency_analyzer/dependency_graphs_builder.py:18
↓ 3 callers
Method
clear
Clear all configuration (file and keyring).
codewiki/cli/config_manager.py:312
↓ 3 callers
Function
format_leaf_system_prompt
Format the leaf system prompt with module name and optional custom instructions. Args: module_name: Name of the module to docume
codewiki/src/be/prompt_template.py:395
↓ 3 callers
Function
format_system_prompt
Format the system prompt with module name and optional custom instructions. Args: module_name: Name of the module to document
codewiki/src/be/prompt_template.py:377
↓ 3 callers
Function
format_user_prompt
Format the user prompt with module name and organized core component codes. Args: module_name: Name of the module to document
codewiki/src/be/prompt_template.py:251
↓ 3 callers
Method
from_cli
Create configuration for CLI context. Args: repo_path: Repository path output_dir: Output directory for gene
codewiki/src/config.py:158
↓ 3 callers
Method
get_all_jobs
Get all job statuses.
codewiki/src/fe/background_worker.py:59
↓ 3 callers
Method
get_cached_docs
Get cached documentation path if available.
codewiki/src/fe/cache_manager.py:65
↓ 3 callers
Function
get_file_title
Extract title from markdown file, fallback to filename.
codewiki/src/fe/visualise_docs.py:93
↓ 3 callers
Method
get_repo_hash
Generate hash for repository URL.
codewiki/src/fe/cache_manager.py:61
↓ 3 callers
Function
markdown_to_html
Convert markdown content to HTML, with special handling for mermaid diagrams.
codewiki/src/fe/visualise_docs.py:68
↓ 3 callers
Method
read_file
Read the content of a file from a given path; raise a ToolError if an error occurs.
codewiki/src/be/agent_tools/str_replace_editor.py:692
↓ 3 callers
Function
resolve_cycles
Resolve cycles in a dependency graph by identifying strongly connected components and breaking cycles. Args: graph: A depend
codewiki/src/be/dependency_analyzer/topo_sort.py:78
↓ 3 callers
Function
safe_open_text
(base_dir: Path, target: Path, encoding="utf-8")
codewiki/src/be/dependency_analyzer/utils/security.py:20
↓ 3 callers
Function
safe_write
Safely write content to a file using atomic write (temp file + rename). Args: path: File path content: Content to write
codewiki/cli/utils/fs.py:60
↓ 3 callers
Method
save
Save configuration to file and keyring. Args: api_key: API key (stored in keyring) base_url: LLM API base UR
codewiki/cli/config_manager.py:123
↓ 3 callers
Method
to_dict
Convert to dictionary.
codewiki/cli/models/config.py:160
↓ 3 callers
Function
validate_url
Validate URL format. Args: url: URL to validate require_https: Require HTTPS scheme (except localhost) allow_loc
codewiki/cli/utils/validation.py:13
↓ 2 callers
Method
_analyze_call_graph
Perform multi-language call graph analysis. This method will be expanded to handle: - Python AST analysis (current)
codewiki/src/be/dependency_analyzer/analysis/analysis_service.py:273
↓ 2 callers
Method
_attribute_chain
Flatten an attribute chain to its dotted parts. Returns None when the receiver is not a simple name chain (a call result, subscript,
codewiki/src/be/dependency_analyzer/analyzers/python.py:492
↓ 2 callers
Method
_base_list_types
(self, base_list)
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:414
↓ 2 callers
Function
_build_model_settings
Build model settings with the correct token parameter.
codewiki/src/be/llm_services.py:41
↓ 2 callers
Method
_caller_id
(self)
codewiki/src/be/dependency_analyzer/analyzers/python.py:107
↓ 2 callers
Method
_clone_repository
Clone repository and return temp dir path.
codewiki/src/be/dependency_analyzer/analysis/analysis_service.py:219
↓ 2 callers
Function
_coerce_json_arg
(value)
codewiki/src/be/caw_toolkit.py:62
↓ 2 callers
Method
_count_parse_errors
(self, root)
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:113
↓ 2 callers
Method
_create_method_node
Create a method node for relationship mapping.
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:214
↓ 2 callers
Method
_dotted_package_for_node
The package (Java) / namespace (C#) a node lives in, derived from its dotted qualified name. Both languages share the same shape: a type's
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:691
↓ 2 callers
Method
_enclosing_class_name
(self, node)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:287
↓ 2 callers
Method
_escape_html
Escape HTML special characters. Args: text: Text to escape Returns: Escaped tex
codewiki/cli/html_generator.py:219
↓ 2 callers
Method
_extract_call_from_node
Extract one relationship from a call_expression node. Plain identifier calls resolve against same-file components; member calls resol
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:505
↓ 2 callers
Method
_extract_class_entity
(self, node, class_type: str, depth: int)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:296
↓ 2 callers
Method
_extract_function_entity
(self, node, func_type: str, depth: int)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:206
↓ 2 callers
Method
_extract_inheritance_relationship
Extract inheritance/implementation relationships
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:1051
↓ 2 callers
Method
_extract_parameters
(self, node)
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:417
↓ 2 callers
Method
_find_breakpoints
Returns 1-based line number of breakpoint. This line is meant to still be included in the viewport. Args: lines: List of lines of
codewiki/src/be/agent_tools/str_replace_editor.py:272
↓ 2 callers
Method
_find_containing_class
Find the component ID of the containing class.
codewiki/src/be/dependency_analyzer/analyzers/kotlin.py:362
↓ 2 callers
Method
_find_containing_function
Find the function that contains this node.
codewiki/src/be/dependency_analyzer/analyzers/c.py:197
↓ 2 callers
Method
_find_method_component
(self, method_name, top_level_nodes, class_name: str = None)
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:650
↓ 2 callers
Method
_find_template_parameters
Collect template type-parameter names in scope at this node, so a reference to `T`/`Char`/... is not reported as an unresolved project symbol.
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:617
↓ 2 callers
Function
_format_module_tree
(module_tree: dict[str, any], indent: int = 0)
codewiki/src/be/prompt_template.py:267
↓ 2 callers
Method
_get_component_id
(self, name: str)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:663
↓ 2 callers
Method
_get_declaration_type_name
(self, node)
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:528
↓ 2 callers
Method
_get_declarator_name
Extract the declared function or method name from nested declarators.
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:295
↓ 2 callers
Method
_get_declared_variable_name
(self, node)
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:536
↓ 2 callers
Method
_get_field_name
Get field name from field_definition node.
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:197
↓ 2 callers
Method
_get_method_name
Get method name from method_definition node.
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:187
↓ 2 callers
Method
_get_name_from_node
Get name from a declaration node.
codewiki/src/be/dependency_analyzer/analyzers/php.py:469
↓ 2 callers
Function
_get_processing_order
Compute leaf-first processing order from a module tree. Returns a list of dicts with module path, name, leaf status, and component/children i
codewiki/mcp/tools/module_tree.py:22
↓ 2 callers
Method
_get_qualified_declarator_parts
(self, declarator)
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:310
↓ 2 callers
Method
_get_relative_path
Get relative path from repo root.
codewiki/src/be/dependency_analyzer/analyzers/java.py:44
↓ 2 callers
Method
_get_relative_path
(self)
codewiki/src/be/dependency_analyzer/analyzers/c.py:37
↓ 2 callers
Method
_get_relative_path
(self)
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:74
↓ 2 callers
Method
_get_relative_path
Get relative path from repo root.
codewiki/src/be/dependency_analyzer/analyzers/kotlin.py:37
↓ 2 callers
Method
_get_relative_path
(self)
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:60
↓ 2 callers
Method
_is_actually_top_level
(self, entity_data: dict)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:118
↓ 2 callers
Method
_last_type_part
(self, type_name: str)
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:558
↓ 2 callers
Method
_load_api_key_from_file
Load API key from fallback credentials file.
codewiki/cli/config_manager.py:66
↓ 2 callers
Method
_note_import_root
(self, target: str)
codewiki/src/be/dependency_analyzer/analyzers/python.py:153
↓ 2 callers
Method
_param_type
(self, param_list, variable_name)
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:633
↓ 2 callers
Method
_parse_jsdoc_types
Parse JSDoc comment text and extract type references.
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:643
↓ 2 callers
Method
_parse_repository_info
Parse GitHub URL and extract repository metadata.
codewiki/src/be/dependency_analyzer/analysis/analysis_service.py:227
↓ 2 callers
Method
_process_function_node
Process a function definition: top-level functions and class methods become components; functions nested inside functions only contrib
codewiki/src/be/dependency_analyzer/analyzers/python.py:246
↓ 2 callers
Method
_qualified_member_name
(self, containing_types: list[str], member_name: str)
codewiki/src/be/dependency_analyzer/analyzers/java.py:408
↓ 2 callers
Method
_receiver_class
Find the class of a local identifier from a `new X()` initializer in an enclosing scope.
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:595
↓ 2 callers
Method
_resolve_callee_in
( self, relationship: CallRelationship, exact: Dict[str, List[str]], simple: D
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:648
↓ 2 callers
Method
_resolve_java_member
(self, member_name: str, context_node, top_level_nodes, target_type: str = None)
codewiki/src/be/dependency_analyzer/analyzers/java.py:344
↓ 2 callers
Method
_resolve_method_via_bases
(self, class_dotted: str, method: str)
codewiki/src/be/dependency_analyzer/analyzers/python.py:472
↓ 2 callers
Function
_safe_doc_path
Resolve *filename* within session.output_dir, guarding against traversal.
codewiki/mcp/tools/doc_writer.py:32
↓ 2 callers
Method
_save_api_key_to_file
Save API key to fallback credentials file (plaintext).
codewiki/cli/config_manager.py:77
↓ 2 callers
Function
_save_history
Append *content* to edit history for *doc_path*, capped at _MAX_HISTORY_PER_FILE.
codewiki/mcp/tools/doc_writer.py:57
↓ 2 callers
Method
_should_include_function
(self, func: Node)
codewiki/src/be/dependency_analyzer/analyzers/python.py:328
↓ 2 callers
Function
_should_use_max_completion_tokens
Determine whether to use max_completion_tokens instead of max_tokens. Newer OpenAI models (o1, o3, o4, gpt-4o, gpt-5, etc.) require max_
codewiki/src/be/llm_services.py:23
↓ 2 callers
Method
_simple_type_name
(self, type_name: str)
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:471
↓ 2 callers
Method
_track_assignment
(self, targets, value)
codewiki/src/be/dependency_analyzer/analyzers/python.py:355
↓ 2 callers
Method
_variable_declaration_type
(self, node)
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:444
↓ 2 callers
Method
analyze_code_files
Complete analysis: Analyze all files to build complete call graph with all nodes. This approach: 1. Analyzes all code files
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:66
↓ 2 callers
Method
analyze_repository_structure
(self, repo_dir: str)
codewiki/src/be/dependency_analyzer/analysis/repo_analyzer.py:33
↓ 2 callers
Function
assert_safe_path
(base_dir: Path, target: Path)
codewiki/src/be/dependency_analyzer/utils/security.py:12
↓ 2 callers
Function
call_llm
Call LLM with the given prompt. Supports openai-compatible, anthropic, and bedrock providers. For bedrock/anthropic, uses litellm to tra
codewiki/src/be/llm_services.py:148
↓ 2 callers
Method
check_clean_working_directory
Check if working directory is clean (no uncommitted changes). Returns: Tuple of (is_clean, status_message)
codewiki/cli/git_manager.py:45
↓ 2 callers
Function
cli
CodeWiki: Transform codebases into comprehensive documentation. Generate AI-powered documentation for your code repositories with suppor
codewiki/cli/main.py:15
↓ 2 callers
Function
cluster_modules
Cluster the potential core components into modules. Args: completer: optional ``(prompt: str) -> str`` callable. When provided,
codewiki/src/be/cluster_modules.py:56
↓ 2 callers
Method
complete
Mark job as completed.
codewiki/cli/models/job.py:90
↓ 2 callers
Method
complete
Single-shot text completion.
codewiki/src/be/backend.py:39
↓ 2 callers
Function
concise_node
(leaf_nodes: Set[str])
codewiki/src/be/dependency_analyzer/topo_sort.py:295
← previous
next →
101–200 of 699, ranked by callers