Ragex.URLAnalyzer.GitFetcher (Ragex v0.36.2)

View Source

Clones and analyzes Git repositories using Ragex's code analysis suite.

Summary

Functions

Clones a repository into a temporary directory, runs Ragex code analysis, extracts architecture details, and cleans up the cloned repository.

Functions

analyze_repository(url_string, opts \\ [])

@spec analyze_repository(String.t(), keyword()) :: {:ok, map()} | {:error, term()}

Clones a repository into a temporary directory, runs Ragex code analysis, extracts architecture details, and cleans up the cloned repository.

Options

  • :auth_token - Authentication token for private repositories
  • :depth - Shallow clone depth (default: 1)
  • :index_graph - Whether to index findings into the knowledge graph (default: true)