Skip to main content

Module core

Module core 

Source
Expand description

Core types and traits for DevSweep

This module contains the fundamental abstractions used throughout the application:

  • Project detection and representation
  • Artifact types and metadata
  • Scanner and cleaner traits

Structs§

Artifact
A cleanable artifact within a project
ArtifactMetadata
Additional metadata about an artifact
ArtifactStats
Statistics about artifacts found during scan
CleanConfig
Configuration for cleaning operations
CleanError
Error during clean operation
CleanProgress
Progress tracking for clean operations
CleanProgressSnapshot
Snapshot of clean progress
CleanResult
Result of a cleaning operation for a single artifact
CleanSummary
Summary of a cleaning operation
GitStatus
Git repository status for safety checks
KindStats
Statistics for a specific artifact kind
ProgressSnapshot
Snapshot of progress at a point in time
Project
A detected development project
ProjectId
Unique identifier for a detected project
ProjectMarker
Marker files/directories that identify a project type
ScanConfig
Configuration for scanning operations
ScanError
Error encountered during scan
ScanProgress
Real-time scan progress information
ScanResult
Result of a complete scan

Enums§

ArtifactKind
Classification of artifact types
ArtifactSafety
Safety classification for artifacts
CleanBlock
Blocking reasons for cleaning operations
CleanSafety
Safety status for cleaning operations
CleanTarget
What to clean - can be a whole project or specific artifacts
CleanWarning
Warning types for cleaning operations
MarkerKind
Types of markers that can identify a project
ProjectKind
The type/ecosystem of a detected project

Traits§

Cleaner
Trait for implementing cleaners
Scanner
Trait for implementing scanners