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
↓ 1 callers
Method
_process_job
Process a single documentation generation job.
codewiki/src/fe/background_worker.py:163
↓ 1 callers
Method
_purge_expired_locked
Remove all expired sessions. Caller must hold _lock.
codewiki/mcp/session.py:123
↓ 1 callers
Method
_read_readme_file
Find and read the README file from the repository root.
codewiki/src/be/dependency_analyzer/analysis/analysis_service.py:244
↓ 1 callers
Method
_reconstruct_jobs_from_cache
Reconstruct job statuses from cache entries for backward compatibility.
codewiki/src/fe/background_worker.py:91
↓ 1 callers
Method
_repo_full_name_to_job_id
Convert repo full name to URL-safe job ID.
codewiki/src/fe/routes.py:280
↓ 1 callers
Method
_resolve_call_relationships
Resolve function call relationships across all languages. Attempts to match function calls to actual function definitions, h
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:485
↓ 1 callers
Method
_resolve_callee
(self, relationship: CallRelationship, indexes: Dict[str, Dict])
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:636
↓ 1 callers
Function
_resolve_caw_provider
(provider: str)
codewiki/src/be/caw_backend.py:80
↓ 1 callers
Method
_resolve_child_docs_path
Resolve the on-disk path for a child module's .md doc. Sub-agents sometimes save files under a sanitized variant of the module name (
codewiki/src/be/documentation_generator.py:128
↓ 1 callers
Method
_resolve_cs_member
Resolve a member call on a known receiver type to a `Type.member` candidate the cross-file resolver can match.
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:537
↓ 1 callers
Function
_resolve_prompt
Resolve a prompt template with optional variable substitution.
codewiki/mcp/tools/prompt_server.py:106
↓ 1 callers
Method
_route_contextual_headers
Route ambiguous .h headers per file. A header is parsed as C++ when its own content shows C++ signals, or when the repository is C++-
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:164
↓ 1 callers
Method
_run_backend_generation
Run the backend documentation generation with progress tracking.
codewiki/cli/adapters/doc_generator.py:175
↓ 1 callers
Method
_run_html_generation
Run HTML generation stage.
codewiki/cli/adapters/doc_generator.py:312
↓ 1 callers
Method
_run_module_agent_sync
( self, module_name: str, components: Dict[str, Node], core_component_ids: Lis
codewiki/src/be/caw_backend.py:206
↓ 1 callers
Function
_safe_filename
Sanitize a component ID for use as a filename. Component IDs look like ``src/main.py::MyClass``. We replace any character that is not a word
codewiki/mcp/workspace.py:37
↓ 1 callers
Method
_search_parameter_declaration
(self, node, variable_name: str)
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:514
↓ 1 callers
Method
_search_variable_declaration
(self, block_node, variable_name)
codewiki/src/be/dependency_analyzer/analyzers/java.py:489
↓ 1 callers
Method
_search_variable_declaration
(self, block_node, variable_name)
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:652
↓ 1 callers
Method
_search_variable_declaration
Search for a local variable declaration with explicit type annotation in a block.
codewiki/src/be/dependency_analyzer/analyzers/kotlin.py:466
↓ 1 callers
Method
_search_variable_declaration
(self, node, variable_name: str)
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:501
↓ 1 callers
Method
_should_exclude_path
(self, path: str, filename: str)
codewiki/src/be/dependency_analyzer/analysis/repo_analyzer.py:100
↓ 1 callers
Method
_should_include_file
(self, path: str, filename: str)
codewiki/src/be/dependency_analyzer/analysis/repo_analyzer.py:112
↓ 1 callers
Method
_should_include_node
(self, node: Node)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:592
↓ 1 callers
Function
_summarize_tree
(tree, depth=0)
codewiki/mcp/server.py:526
↓ 1 callers
Method
_traverse_for_calls
(self, node, current_top_level)
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:430
↓ 1 callers
Method
_traverse_for_functions
(self, node)
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:125
↓ 1 callers
Method
_traverse_for_relationships
(self, node, all_entities: dict, current_top_level: str = None)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:701
↓ 1 callers
Function
_try_pythonmonkey_parse
Attempt to parse via PythonMonkey/mermaid-parser-py. Returns the extracted parse-error message, "" on success, or None when PythonMonkey itse
codewiki/src/be/utils.py:161
↓ 1 callers
Function
_update_previous_errors
Update the line numbers of the previous errors to what they would be after the edit window. This is a helper function for `_filter_previous_errors
codewiki/src/be/agent_tools/str_replace_editor.py:129
↓ 1 callers
Function
_walk
(tree: Dict, parents: list[str] | None = None)
codewiki/mcp/tools/analysis.py:247
↓ 1 callers
Function
_write_generation_metadata
Write ``metadata.json`` to the session's output directory. Merges the current git commit and timestamp into any existing metadata so that sta
codewiki/mcp/server.py:556
↓ 1 callers
Method
add_job
Add a job to the processing queue.
codewiki/src/fe/background_worker.py:50
↓ 1 callers
Method
add_to_cache
Add documentation to cache.
codewiki/src/fe/cache_manager.py:84
↓ 1 callers
Method
analyze
(self)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:43
↓ 1 callers
Method
analyze
Analyze the Python file and extract functions and relationships.
codewiki/src/be/dependency_analyzer/analyzers/python.py:515
↓ 1 callers
Method
analyze
(self)
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:54
↓ 1 callers
Function
analyze_c_file
(file_path: str, content: str, repo_path: str = None)
codewiki/src/be/dependency_analyzer/analyzers/c.py:213
↓ 1 callers
Function
analyze_cpp_file
(file_path: str, content: str, repo_path: str = None)
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:674
↓ 1 callers
Function
analyze_csharp_file
(file_path: str, content: str, repo_path: str = None)
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:685
↓ 1 callers
Function
analyze_java_file
(file_path: str, content: str, repo_path: str = None)
codewiki/src/be/dependency_analyzer/analyzers/java.py:536
↓ 1 callers
Function
analyze_javascript_file_treesitter
Analyze a JavaScript file using tree-sitter.
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:779
↓ 1 callers
Function
analyze_kotlin_file
(file_path: str, content: str, repo_path: Optional[str] = None)
codewiki/src/be/dependency_analyzer/analyzers/kotlin.py:503
↓ 1 callers
Function
analyze_php_file
Analyze a PHP file and extract nodes and call relationships. Args: file_path: Path to the PHP file content: Content of the P
codewiki/src/be/dependency_analyzer/analyzers/php.py:585
↓ 1 callers
Function
analyze_python_file
Analyze a Python file and return components, relationships, and the third-party import roots observed in the file. Args: file_pa
codewiki/src/be/dependency_analyzer/analyzers/python.py:536
↓ 1 callers
Method
analyze_repository_full
Perform complete repository analysis including call graph generation. Args: github_url: GitHub repository URL to analyze
codewiki/src/be/dependency_analyzer/analysis/analysis_service.py:96
↓ 1 callers
Method
analyze_repository_structure_only
Perform lightweight structure-only analysis without call graph generation. Args: github_url: GitHub repository URL to an
codewiki/src/be/dependency_analyzer/analysis/analysis_service.py:170
↓ 1 callers
Function
analyze_typescript_file_treesitter
( file_path: str, content: str, repo_path: str = None )
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:1122
↓ 1 callers
Function
build_graph_from_components
Build a dependency graph from a collection of code components. The graph uses the natural dependency direction: - If A depends on B,
codewiki/src/be/dependency_analyzer/topo_sort.py:239
↓ 1 callers
Method
build_overview_structure
Build structure for overview generation with 1-depth children docs and target indicator.
codewiki/src/be/documentation_generator.py:101
↓ 1 callers
Function
check_writable_output
Check if output directory is writable. Args: output_dir: Output directory path Returns: Validated output di
codewiki/cli/utils/repo_validator.py:74
↓ 1 callers
Method
cleanup_all
Clean up all tracked temporary directories.
codewiki/src/be/dependency_analyzer/analysis/analysis_service.py:333
↓ 1 callers
Method
cleanup_old_jobs
Clean up old job status entries.
codewiki/src/fe/routes.py:288
↓ 1 callers
Function
cleanup_repository
Remove the cloned repository directory (wrapper for backward compatibility). Args: repo_dir: Path to the repository directory to rem
codewiki/src/be/dependency_analyzer/analysis/cloning.py:221
↓ 1 callers
Function
clone_repository
Clone a GitHub repository to a temporary directory. Args: github_url: GitHub repository URL (will be sanitized automatically) R
codewiki/src/be/dependency_analyzer/analysis/cloning.py:60
↓ 1 callers
Method
clone_repository
Clone a GitHub repository to the target directory, optionally checking out a specific commit.
codewiki/src/fe/github_processor.py:55
↓ 1 callers
Function
compute_github_pages_url
Compute expected GitHub Pages URL from repository URL. Args: repo_url: GitHub repository URL repo_name: Repository name
codewiki/cli/utils/instructions.py:10
↓ 1 callers
Method
create_documentation_branch
Create a new documentation branch with timestamp. Args: force: Force creation even if dirty working directory
codewiki/cli/git_manager.py:73
↓ 1 callers
Function
create_fallback_model
Create the fallback LLM model from configuration.
codewiki/src/be/llm_services.py:121
↓ 1 callers
Method
create_file
(self, path: Path, file_text: str)
codewiki/src/be/agent_tools/str_replace_editor.py:475
↓ 1 callers
Function
create_logger
Create and return a CLI logger. Args: verbose: Enable verbose output Returns: Configured CLILogger instance
codewiki/cli/utils/logging.py:74
↓ 1 callers
Function
create_main_model
Create the main LLM model from configuration.
codewiki/src/be/llm_services.py:109
↓ 1 callers
Function
create_openai_client
Create OpenAI client from configuration.
codewiki/src/be/llm_services.py:140
↓ 1 callers
Method
delete_api_key
Delete API key from keyring and fallback file.
codewiki/cli/config_manager.py:297
↓ 1 callers
Function
detect_cycles
Detect cycles in a dependency graph using Tarjan's algorithm to find strongly connected components. Args: graph: A dependenc
codewiki/src/be/dependency_analyzer/topo_sort.py:18
↓ 1 callers
Method
detect_repository_info
Detect repository information from git. Args: repo_path: Repository path Returns:
codewiki/cli/html_generator.py:238
↓ 1 callers
Function
detect_supported_languages
Detect supported programming languages in a directory. Args: directory: Directory to scan Returns: List of
codewiki/cli/utils/validation.py:156
↓ 1 callers
Method
display_api_error
Display API error with formatting. Args: error: The API error module_name: Optional module name for
codewiki/cli/utils/api_errors.py:89
↓ 1 callers
Function
display_post_generation_instructions
Display post-generation instructions. Args: output_dir: Output directory path repo_name: Repository name repo_ur
codewiki/cli/utils/instructions.py:48
↓ 1 callers
Method
ensure_directories
Ensure all required directories exist.
codewiki/src/fe/config.py:37
↓ 1 callers
Function
extract_mermaid_blocks
Extract all mermaid code blocks from markdown content. Returns: List of tuples containing (line_number, diagram_content)
codewiki/src/be/utils.py:112
↓ 1 callers
Function
format_flake8_output
Filter flake8 output for previous errors and print it for a given file. Args: input_string: The flake8 output as a string show_li
codewiki/src/be/agent_tools/str_replace_editor.py:162
↓ 1 callers
Method
from_dict
Create Configuration from dictionary. Args: data: Configuration dictionary Returns:
codewiki/cli/models/config.py:182
↓ 1 callers
Method
generate
Generate HTML documentation viewer. Args: output_path: Output file path (index.html) title: Document
codewiki/cli/html_generator.py:83
↓ 1 callers
Method
generate
Generate documentation with progress tracking. Returns: Completed DocumentationJob Raises:
codewiki/cli/adapters/doc_generator.py:117
↓ 1 callers
Function
get_backend
Return the backend instance matching ``config.provider``.
codewiki/src/be/backend.py:60
↓ 1 callers
Function
get_git_branch
Get current git branch name. Searches parent directories to support monorepo subdirectories. Args: repo_path: Path insi
codewiki/cli/utils/repo_validator.py:174
↓ 1 callers
Function
get_leaf_nodes
Find leaf nodes (nodes that no other nodes depend on) and build dependency trees showing the full dependency chain from each leaf back to the
codewiki/src/be/dependency_analyzer/topo_sort.py:271
↓ 1 callers
Method
get_overall_progress
Get overall progress percentage. Returns: Progress (0.0 to 1.0)
codewiki/cli/utils/progress.py:117
↓ 1 callers
Function
get_pr_creation_url
Get PR creation URL for GitHub. Args: repo_url: GitHub repository URL branch_name: Branch name Returns:
codewiki/cli/utils/instructions.py:33
↓ 1 callers
Method
get_processing_order
Get the processing order using topological sort (leaf modules first).
codewiki/src/be/documentation_generator.py:76
↓ 1 callers
Method
get_remote_url
Get remote repository URL. Args: remote_name: Name of remote (default: origin) Returns:
codewiki/cli/git_manager.py:155
↓ 1 callers
Method
handle_api_error
Handle LLM API error and convert to APIError. Args: error: The original exception context: Additiona
codewiki/cli/utils/api_errors.py:15
↓ 1 callers
Method
index_get
Main page with form for submitting GitHub repositories.
codewiki/src/fe/routes.py:32
↓ 1 callers
Method
index_post
Handle repository submission.
codewiki/src/fe/routes.py:55
↓ 1 callers
Method
is_complete
Check if all required fields are set. Subscription-mode providers (claude-code, codex) only require ``main_model``; ``base_url``, ``c
codewiki/cli/models/config.py:213
↓ 1 callers
Method
is_configured
Check if configuration is complete and valid. Subscription-mode providers (claude-code, codex) do not require an API key — t
codewiki/cli/config_manager.py:275
↓ 1 callers
Function
is_entry_point_path
Check if a file path matches entry point path patterns. Args: filepath: Full path of the file to check Returns: True if
codewiki/src/be/dependency_analyzer/utils/patterns.py:501
↓ 1 callers
Method
is_leaf_module
Check if a module is a leaf module (has no children or empty children).
codewiki/src/be/documentation_generator.py:96
↓ 1 callers
Method
is_valid_github_url
Validate if the URL is a valid GitHub repository URL.
codewiki/src/fe/github_processor.py:18
↓ 1 callers
Method
load_cache_index
Load cache index from disk.
codewiki/src/fe/cache_manager.py:26
↓ 1 callers
Method
load_job_statuses
Load job statuses from disk.
codewiki/src/fe/background_worker.py:63
↓ 1 callers
Method
load_metadata
Load metadata from documentation directory. Args: docs_dir: Documentation directory path Re
codewiki/cli/html_generator.py:62
↓ 1 callers
Method
load_module_tree
Load module tree from documentation directory. Args: docs_dir: Documentation directory path
codewiki/cli/html_generator.py:35
↓ 1 callers
Function
main
Entry point for the CLI.
codewiki/cli/main.py:64
↓ 1 callers
Function
main
Main function to run the documentation server.
codewiki/src/fe/visualise_docs.py:188
↓ 1 callers
Function
main
Main entry point for the documentation generation process.
codewiki/src/be/main.py:46
↓ 1 callers
Function
main
Run the MCP server with stdio transport.
codewiki/mcp/server.py:603
↓ 1 callers
Function
main
()
tests/smoke_test_mcp.py:40
↓ 1 callers
Function
normalize_symbol
Return a comparable symbol name from an ID, qualified name, or call target.
codewiki/src/be/dependency_analyzer/utils/external_symbols.py:646
← previous
next →
401–500 of 699, ranked by callers