git Types

This document shows Go type definitions from the codebase.

Generated types:

CargoLock {#cargolock}

Source: qntx-code/ixgest/git/deps.go:404

type CargoLock struct {
	Package []unknown `toml:"package"`
}

CargoToml {#cargotoml}

Source: qntx-code/ixgest/git/deps.go:331

type CargoToml struct {
	Package unknown `toml:"package"`
	Dependencies map[string]interface{} `toml:"dependencies"`
	DevDependencies map[string]interface{} `toml:"dev-dependencies"`
}

DepsIngestionResult {#depsingestionresult}

Source: qntx-code/ixgest/git/deps.go:33

type DepsIngestionResult struct {
	FilesDetected int `json:"files_detected"`
	FilesProcessed int `json:"files_processed"`
	TotalAttestations int `json:"total_attestations"`
	ProjectFiles []ProjectFileResult `json:"project_files,omitempty"`
}

DepsIxProcessor {#depsixprocessor}

Source: qntx-code/ixgest/git/deps.go:50

type DepsIxProcessor struct {
}

FlakeLock {#flakelock}

Source: qntx-code/ixgest/git/deps.go:539

type FlakeLock struct {
	Nodes map[string]unknown `json:"nodes"`
}

GitBranchResult {#gitbranchresult}

Source: qntx-code/ixgest/git/ingest.go:86

type GitBranchResult struct {
	Name string `json:"name"`
	CommitHash string `json:"commit_hash"`
	AttestationCount int `json:"attestation_count"`
	Attestations []string `json:"attestations,omitempty"`
}

GitCommitResult {#gitcommitresult}

Source: qntx-code/ixgest/git/ingest.go:74

type GitCommitResult struct {
	Hash string `json:"hash"`
	ShortHash string `json:"short_hash"`
	Message string `json:"message"`
	Author string `json:"author"`
	Timestamp string `json:"timestamp"`
	ParentCount int `json:"parent_count"`
	AttestationCount int `json:"attestation_count"`
	Attestations []string `json:"attestations,omitempty"`
}

GitIngestionHandler {#gitingestionhandler}

Source: qntx-code/ixgest/git/async.go:16

type GitIngestionHandler struct {
}

GitIngestionPayload {#gitingestionpayload}

Source: qntx-code/ixgest/git/async.go:30

type GitIngestionPayload struct {
	RepositorySource string `json:"repository_source"`
	Actor string `json:"actor,omitempty"`
	Verbosity int `json:"verbosity"`
	NoDeps bool `json:"no_deps,omitempty"`
	Since string `json:"since,omitempty"`
}

GitIxProcessor {#gitixprocessor}

Source: qntx-code/ixgest/git/ingest.go:45

type GitIxProcessor struct {
}

GitProcessingResult {#gitprocessingresult}

Source: qntx-code/ixgest/git/ingest.go:58

type GitProcessingResult struct {
	RepositoryPath string `json:"repository_path"`
	DryRun bool `json:"dry_run"`
	Actor string `json:"actor"`
	CommitsProcessed int `json:"commits_processed"`
	BranchesProcessed int `json:"branches_processed"`
	TotalAttestations int `json:"total_attestations"`
	Commits []GitCommitResult `json:"commits,omitempty"`
	Branches []GitBranchResult `json:"branches,omitempty"`
	Success bool `json:"success"`
	Message string `json:"message"`
	StartTime time.Time `json:"start_time"`
	EndTime time.Time `json:"end_time"`
}

GoPackageInfo {#gopackageinfo}

Source: qntx-code/ixgest/git/ingest.go:732

type GoPackageInfo struct {
	PackageName string
	Imports []string
}

PackageJSON {#packagejson}

Source: qntx-code/ixgest/git/deps.go:437

type PackageJSON struct {
	Name string `json:"name"`
	Version string `json:"version"`
	Dependencies map[string]string `json:"dependencies"`
	DevDependencies map[string]string `json:"devDependencies"`
}

ProjectFile {#projectfile}

Source: qntx-code/ixgest/git/deps.go:26

type ProjectFile struct {
	Type string
	Path string
	Name string
}

ProjectFileResult {#projectfileresult}

Source: qntx-code/ixgest/git/deps.go:41

type ProjectFileResult struct {
	Type string `json:"type"`
	Path string `json:"path"`
	AttestationCount int `json:"attestation_count"`
	Attestations []string `json:"attestations,omitempty"`
	Error string `json:"error,omitempty"`
}

PyprojectToml {#pyprojecttoml}

Source: qntx-code/ixgest/git/deps.go:595

type PyprojectToml struct {
	Project unknown `toml:"project"`
	Tool unknown `toml:"tool"`
}

RepoSource {#reposource}

Source: qntx-code/ixgest/git/repo.go:23

type RepoSource struct {
	LocalPath string
	OriginalInput string
	IsCloned bool
	TempDir string
}