Move DevDrive project to repo root

This commit is contained in:
2026-01-05 07:19:06 +11:00
parent 9bf318e41e
commit 9fcad874b9
9 changed files with 8 additions and 0 deletions

33
FloppyConfig.cs Normal file
View File

@@ -0,0 +1,33 @@
using System.Text.Json.Serialization;
namespace DevDrive;
/// <summary>
/// Represents the index.json configuration file structure.
/// </summary>
public class FloppyConfig
{
[JsonPropertyName("driveName")]
public string DriveName { get; set; } = "Dev Disk";
[JsonPropertyName("driveIcon")]
public string DriveIcon { get; set; } = "";
[JsonPropertyName("driveTotalMB")]
public double DriveTotalMB { get; set; } = 100;
[JsonPropertyName("driveFreeMB")]
public double DriveFreeMB { get; set; } = 50;
[JsonPropertyName("paths")]
public List<SymlinkEntry> Paths { get; set; } = [];
}
public class SymlinkEntry
{
[JsonPropertyName("name")]
public string Name { get; set; } = string.Empty;
[JsonPropertyName("path")]
public string Path { get; set; } = string.Empty;
}