Crate devdust_core

Crate devdust_core 

Source
Expand description

Dev Dust Core Library

This library provides functionality to detect various types of development projects and clean their build artifacts to reclaim disk space.

Supported project types:

  • Rust (Cargo)
  • Node.js/JavaScript
  • Python
  • .NET (C#/F#)
  • Java (Maven, Gradle)
  • Unity
  • Unreal Engine
  • And many more…

Structs§

Project
Represents a detected development project
ScanOptions
Options for scanning directories

Enums§

CleanError
Errors that can occur during cleaning
ProjectType
Represents different types of development projects we can detect
ScanError
Errors that can occur during scanning

Functions§

calculate_directory_size
Calculates the total size of a directory in bytes
format_elapsed_time
Formats elapsed time into a human-readable string (e.g., “2 days ago”)
format_size
Formats a byte size into a human-readable string (e.g., “1.5 GB”)
scan_directory
Scans a directory recursively to find development projects