Pipeline.Codebase.Discovery (pipeline v0.0.1)
View SourceCore discovery engine for codebase analysis.
Handles project type detection, file scanning, dependency parsing, git integration, and structure analysis.
Summary
Functions
Analyze project structure and categorize files.
Detect project type based on file indicators.
Extract project metadata.
Find files related to a given file path.
Get git information for the workspace.
Parse project dependencies from configuration files.
Query files by various criteria.
Scan all files in the workspace directory.
Functions
@spec analyze_structure(String.t()) :: %{ directories: [String.t()], main_files: [String.t()], test_files: [String.t()], config_files: [String.t()], source_files: [String.t()] }
Analyze project structure and categorize files.
Detect project type based on file indicators.
@spec extract_metadata(String.t()) :: %{ optional(atom()) => any(), project_type: atom(), discovered_at: DateTime.t(), root_path: String.t() }
Extract project metadata.
Get git information for the workspace.
Parse project dependencies from configuration files.
@spec query_files( Pipeline.Codebase.Context.t(), keyword() ) :: [String.t()]
Query files by various criteria.
Scan all files in the workspace directory.