projectdash

package
v0.0.0-...-e7aa5da Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectTechStack

func DetectTechStack(projectPath string) []string

DetectTechStack analyzes a project directory and identifies technologies used

func FormatSize

func FormatSize(bytes int64) string

FormatSize formats bytes into human-readable string

func GetProjectLastModified

func GetProjectLastModified(projectPath string) time.Time

GetProjectLastModified returns the most recent modification time

func GetProjectSize

func GetProjectSize(projectPath string) int64

GetProjectSize calculates the total size of a project directory

Types

type ProjectInfo

type ProjectInfo struct {
	Name         string
	Path         string
	TechStack    []string
	Status       ProjectStatus
	LastModified time.Time
	HasErrors    bool
	Size         int64 // in bytes
}

func ScanWorkspace

func ScanWorkspace(workspacePath string) ([]ProjectInfo, error)

ScanWorkspace scans a workspace directory for projects

type ProjectStatus

type ProjectStatus int
const (
	StatusActive ProjectStatus = iota
	StatusBroken
	StatusArchived
)

func AnalyzeProjectStatus

func AnalyzeProjectStatus(projectPath string) ProjectStatus

AnalyzeProjectStatus determines if a project is Active, Broken, or Archived

func (ProjectStatus) Icon

func (s ProjectStatus) Icon() string

func (ProjectStatus) String

func (s ProjectStatus) String() string

Jump to

Keyboard shortcuts

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