info

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Extensions []string
	Excludes   []string
}

Config holds directory processing configuration

type GitInfo

type GitInfo struct {
	Branch        string
	CommitHash    string
	CommitMessage string
}

GitInfo holds git repository information

type ProjectAnalysis

type ProjectAnalysis struct {
	EntryPoints   map[string]string // Entry points by language pattern
	ConfigFiles   map[string]string // Config files with descriptions
	CoreFiles     map[string]string // Core implementation files
	TestFiles     map[string]string // Test files
	Documentation map[string]string // Documentation files
}

ProjectAnalysis contains categorized project files and their descriptions

func AnalyzeProject

func AnalyzeProject(rootPath string, f *filter.Filter) *ProjectAnalysis

type ProjectInfo

type ProjectInfo struct {
	DirectoryTree *format.DirectoryNode
	GitInfo       *GitInfo
	Metadata      *ProjectMetadata
}

ProjectInfo holds all discoverable information about the project

func GetProjectInfo

func GetProjectInfo(rootPath string, f *filter.Filter) (*ProjectInfo, error)

GetProjectInfo gathers all available information about the project

type ProjectMetadata

type ProjectMetadata struct {
	Name         string
	Language     string
	Version      string
	Dependencies []string
}

ProjectMetadata holds project-specific information

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL