GithubWrapperService

gitinsp.domain.interfaces.infrastructure.GithubWrapperService
trait GithubWrapperService extends LazyLogging

Service for interacting with GitHub repositories Provides functionality to fetch and build repository models for indexing and content retrieval

Attributes

Graph
Supertypes
trait LazyLogging
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def buildRepository(url: URL, languages: List[Language]): Try[GitRepository]

Creates a structured repository model from a GitHub URL

Creates a structured repository model from a GitHub URL

Value parameters

languages

List of programming languages to filter repository content

url

The URL of the GitHub repository

Attributes

Returns

A GitRepository model ready for indexing wrapped in a Try

def fetchRepository(url: URL, languages: List[Language]): Try[String]

Fetches raw content from a GitHub repository

Fetches raw content from a GitHub repository

Value parameters

languages

List of programming languages to filter repository content

url

The URL of the GitHub repository

Attributes

Returns

Repository content as a string wrapped in a Try

Inherited fields

lazy protected val logger: Logger

Attributes

Inherited from:
LazyLogging